Tool 112: FTP client : get a file

Description:

  This tool retrieves a file from a FTP server.
  
  Parameters --user and --pass defines the username and password.
  FTP protocol can use Active or Passive transfers. Parameter --passive
  activates a passive transfer (by default, it's active).
  Parameter --dst-ip is the address of remote host/server.
  Parameter --dst-port is the port number where to connect.
  Optional parameter --src-ip defines the local IP address to use.
  Optional parameter --src-port defines the local port number to use.
  Optional parameter --ip4opts permits to add IPv4 options encoded as
  mixed.
  Optional parameter --ip6exts permits to add IPv6 options encoded as
  mixed (first byte is the next header number).
  Optional parameters --device, --src-eth and --dst-eth permits to
  create a virtual client using fake addresses.
   

Synonyms:

  download

Usage:

  netwox 112 -i ip [-u data] [-a password] [-V|+V] -F file -f file [-d device] [-E eth] [-e eth] [-I ip] [-P port] [-p port] [-o ip4opts] [-O ip6exts] [-T uint32]

Parameters:

parameter description example
-i|--dst-ip ip destination IP address 5.6.7.8
-u|--user data username anonymous
-a|--pass password password user@
-V|--passive|+V|--no-passive passive  
-F|--remote-file file remote file /etc/passwd
-f|--local-file file local file passwd_copy
-d|--device device device name Eth0
-E|--src-eth eth source ethernet address 0:2:3:4:5:6
-e|--dst-eth eth destination ethernet address 0:8:9:a:b:c
-I|--src-ip ip source IP address 1.1.1.1
-P|--src-port port source port number 0
-p|--dst-port port destination port number 21
-o|--ip4opts ip4opts IPv4 options  
-O|--ip6exts ip6exts IPv6 extensions  
-T|--timeout uint32 timeout in milliseconds 10000

Examples:

  netwox 112 -i "5.6.7.8" -F "/etc/passwd" -f "passwd_copy"

  netwox 112 --dst-ip "5.6.7.8" --remote-file "/etc/passwd" --local-file "passwd_copy"