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 ...

Get Linux® Desk Reference, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.