O'Reilly logo

Linux® Desk Reference, Second Edition by Scott Hawkins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Commands

ftp

[-v] [-d] [-i] [-n] [-g] [host]

The ftp command is used to transfer files between two network sites. It is an implementation of the Arpanet File Transfer Protocol. The command is interactive; the options listed next may be specified either on the command line or at the ftp prompt.

Example: To transfer the file test.txt from the local host (odin) to the remote host (fenris), use

ftp fenris

ftp>put test.txt

To abort a file transfer, use the terminal interrupt key (typically <Ctrl>-C).

-v Run in verbose operation. Show all responses from the remote server.
-n Do not attempt to log in automatically upon making initial connection. Without this option, ftp will check the user's ~/.netrc file for information about the account on the remote ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required