Next: , Previous: whois invocation, Up: Top


8 ftp: FTP client

ftp is the user interface for FTP, File Transfer Protocol. The program allows a user to transfer files to and from a remote network site. Synopsis:

     ftp [option...] [host [port]]
-4
--ipv4
Initially set addressing to IPv4 only.
-6
--ipv6
Initially set addressing to IPv6 only.
-A
--active
Enable active mode transfer.
-p
--passive
Enable passive mode transfer.
-d
--debug
Enables debugging.
-g
--no-glob
Disables file name globbing.
-i
--no-prompt
Turns off interactive prompting during multiple file transfers.
-n
--no-login
Restrains ftp from attempting auto-login upon initial connection. If auto-login is enabled, ftp will check the .netrc (see The .netrc File) file in the user's home directory for an entry describing an account on the remote machine. If no entry exists, ftp will prompt for the remote machine login name (default is the user identity on the local machine), and, if necessary, prompt for a password and an account with which to login.
--prompt[=prompt]
Print a command-line prompt, even if not on a tty. If prompt is supplied, its value is used instead of the default ‘ftp> ’. Notice, that the argument is optional.
-t
--trace
Enable packet tracing.