File Transfer Protocol |
|
| FTP |
The file transfer protocol (ftp) copies files between two networked
computers. ASCII text files are most commonly transfered, but you can also
transfer binary files as long as the transfer type is set to binary. An
example ftp session from eesn12 to a HP in CE could look like
this:
$> ftp cehpx8 cehpx8 is still in your local domain on the workstations, but the fully qualified address is required if connecting out of the local network. Next, prompts for the account and password for the remote host ( cehpx8 ) will appear. You should see the ftp> prompt. There are now two ftp options: get and put. As the name implies, the get command "gets" files from a remote host and brings them to your local host. Conversely, the put command "puts" your file from the local host to the remote host. Continuing the above example, you now want to transfer a file called ice from cehpx8 to your machine, where you want to call it nine . At the ftp> prompt, type: ftp> get ice nine You now have the file formerly known as ice , in your directory as nine . Similarly, reverse the order of names if you are sending a file, putting your ( the current ) filename before the remote hose filename: ftp> put ice nine You can also send or receive multiple files by typing mget or mput . To exit ftp, type bye . For more information on ftp type: $> man ftp |