Tool 136: Web download (http://... or ftp://...)
Description:
This tool downloads a HTTP or FTP file.
Parameter --uri is the uri/url requested.
Parameters --proxy-ip, --proxy-port, --proxy-login and
--proxy-password defines the web proxy and credentials.
Parameter --user-agent defines the client name to send. For example
'Mozilla/5.0'.
Parameter --display-status indicates to display status code of reply
to screen.
Synonyms:
curl, wget
Usage:
netwox 136 -u uri -f file [-p ip] [-P port] [-l login] [-L password] [-U useragent] [-F|+F] [-T uint32] [-s|+s]
Parameters:
parameter |
description |
example |
-u|--uri uri |
url/uri to download |
http://www.example.com/ |
-f|--dst-file file |
file to write to |
dstfile.txt |
-p|--proxy-ip ip |
IP address of proxy |
5.6.7.8 |
-P|--proxy-port port |
port of proxy |
3128 |
-l|--proxy-login login |
login of proxy |
|
-L|--proxy-password password |
password of proxy |
|
-U|--user-agent useragent |
user agent |
Mozilla/5.0 |
-F|--ftp-passive|+F|--no-ftp-passive |
use passive FTP |
|
-T|--timeout uint32 |
timeout in ms |
60000 |
-s|--display-status|+s|--no-display-status |
display statuscode to screen |
|
Examples:
netwox 136 -u "http://www.example.com/" -f "dstfile.txt"
netwox 136 --uri "http://www.example.com/" --dst-file "dstfile.txt"