Using ftp to move files between accounts
If you have accounts on more than one system, you can use ftp to transfer files back and forth between them. You must know the Internet address of the remote system, and also the pathname of the file on the remote system.
Follow these steps:
ftp site-nameThis establishes a connect to the named site. You should see a prompt something like this:
Connected to somewhere.edu. 220 FTP server ready. Name (somewhere.edu:your-name):
331 Password required for your-name. Password:
cdfollowed by the path name to the file you want (leaving off the file name):
ftp> cd path-nameThis is similar to the Unix
cdcommand, except that it changes your current directory on the remote system.
lscommand to see what files are in the remote system's current directory.
ftp> get file-nameYou should then see messages telling how big the file was and how long it took to transfer. Be patient if you are transferring a huge file.
If you want to give the copy a different name on the local system, use this form:
ftp> get file-name local-name
ftp> put local-nameIf you want the file to have a different name on the remote system:
ftp> put local-name remote-name
quitcommand. This exits the