12.4 The World Wide Web and File Transfer Protocol...
1.4 The World Wide Web and File Transfer Protocol
(WWW & FTP)
FTP Linux Command
ftp is the user interface to the Internet standard File Transfer Protocol. The program allows a user to transfer files to and from a remote network site. Options may be specified at the command line, or to the command interpreter.
Examples:
ftp abc.xyz.edu : This command will attempt to connect to the ftp server at abc.xyz.edu. If it succeeds, it will ask you to log in using a username and password. Once you are logged in you can get a list of the available ftp commands using the help function:
ftp> help
ftp> ls : This command prints the names of the files and subdirectories in the current directory on the remote computer.
ftp> get image1.jpg : Downloads the file image1.jpg from the remote computer to the local computer. Warning: If there already is file with the same name it will be overwritten.