### Tool 182: Obtain size of a web file (http://... or ftp://...)

### Description:

      This tool obtains size of a HTTP or FTP file, without downloading it.
      If it's not possible (url is a directory for example), an error is
      returned.

      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 182 -u uri [-p ip] [-P port] [-l login] [-L password] [-U useragent] [-f|+f] [-T uint32]

### Parameters:

parameter | description | example
`-u|--uri uri` | url/uri | http://www.laurentconstantin.com/
`-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

### Examples:

netwox 182 -u "http://www.laurentconstantin.com/"
netwox 182 --uri "http://www.laurentconstantin.com/"