ftp—file transfer program

ftp [ –dgintv ] [ hostname ]

The ftp command is the user interface to the Internet standard File Transfer Protocol (FTP). ftp transfers files to and from a remote network site. The file transfer program is not limited to UNIX machines.

Example A.24.
1   ftp ftp.uu.net
2   ftp -n 127.150.28.56

EXPLANATION

  1. ftp to the machine ftp.uu.net, a large repository run by the UUNET service that handles e-mail and net news for UNIX systems.

  2. Opens a connection to the machine at 127.45.4.1 and does not attempt to auto-login.

Get UNIX® Shells by Example, Third 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.