Small Net Get 1.0

SnGet - Small Net Get is a command line Win32 tool that allows the download of any URL from HTTP, FTP and POP3 protocol services.

Give the desired URL as parameter and SnGet will connect to the server and get the response, depending on the service.

SnGet has options that allows:

  • to construct request by using a pattern specified by character '#' and a set of values in a file.
  • to download POP3 messages
  • to download FTP archives
  • to get files by HTTP
  • to log all the operations in a file

It works over Win32 (95,98,NT,2000) and use winsock APIs.

You can use this utility to test the type of responses of any HTTP, FTP or POP3 service.

DOWNLOAD

 Small Net Get 1.0

Also you can use SnGet to get multiple documents from a URL where the directory disposition and/or names are known.

This utility is free.

How does it works ?

The usage of SNGET is

SNGET fullurl [-h] [-d outfile] [ -f patfile] [-v vmode] [-l logfile]

Where:

  • -h is for extended help
  • -d is to have in the specified file the data retrieved
  • -v is for verbose (0-normal, 1-no credits, 2-no info)
  • -l is to have in a file the log of the transmission being done
  • -f is to specify a pattern to download multiple elements.


Basically, put the url you would get following the SNGET in the
command line (i.e.):

C:\>SNGET http://www.website.not/webfile.html

You will get the file webfile.html (or the message that the server
www.website.not will return)

Anytime during the download of the file, you can press ESC key to
break the transfer.

By default all documents in HTTP transfer are restored from the last
byte (if the web server supports it)

You can specify which protocol you want to use by the prefix in the
url: (http:// for web servers, ftp:// for FTP servers, pop3:// for
POP3 mailboxes)

Use the complete form of the url to introduce users and passwords:

Protocol://User:Password@Server/Document:Port

Advanced Use

There is also the -f flag that allows to download multiple files by specifying an special character in the download.

In example, you would download 30 files that are named as doc01.html, doc02.html and so up to doc30.html, located on http://www.myweb.com/data/. To do this you will:

  • create a plain text file named pattern.txt with the following contents:


01
02
03
...
30
 

  • then, execute

snget http://www.myweb.com/data/doc#.html -f pattern.txt

Note the # characters that acts as a wilcard, and is replaced by each line in pattern.txt file in subsequent calls to download.

You can get more info at admin@dlcsistemas.com

 


 

© 2002 DLC Sistemas