|
|
c m s c 214
s p r i n g 2 0 0 2 |
I want my "ftp". This was the cry of the 80's which lead to the famous UNIX utility, "ftp"! Do you know what it stands for? "ftp" stands for (it stands for file transfer protocol).
Here's the instructions. (You type in what's in red).
Connected to dc.umd.edu. 220 holmes.umd.edu FTP server (Digital UNIX Version 5.60) ready. Name (dc.umd.edu:janplane):
Connected to dc.umd.edu. 220 holmes.umd.edu FTP server (Digital UNIX Version 5.60) ready. Name (dc.umd.edu:janplane): zz214123 331 Password required for zz214123. Password:
Connected to dc.umd.edu. 220 holmes.umd.edu FTP server (Digital UNIX Version 5.60) ready. Name (dc.umd.edu:janplane): zz214123 331 Password required for zz214123. Password: Login failed. ftp>
Connected to dc.umd.edu. 220 holmes.umd.edu FTP server (Digital UNIX Version 5.60) ready. Name (dc.umd.edu:janplane): zz214123 331 Password required for zz214123. Password: Login failed. ftp> user zz214123 331 Password required for zz214123.
Connected to dc.umd.edu. 220 holmes.umd.edu FTP server (Digital UNIX Version 5.60) ready. Name (dc.umd.edu:janplane): zz214123 331 Password required for zz214123. Password: Login failed. ftp> user zz214123 331 Password required for zz214123. Password: 230 User zz214123 logged in. ftp>
ftp> mput proj1.ps mput proj1.ps?It asks you if you want to put the file in the remote directory. Type 'y', and hit return.
ftp> mput proj1.ps mput proj1.ps? y 200 PORT command successful. 150 Opening ASCII mode data connection for proj1.ps (128.8.129.123,34138). 226 Transfer complete. local: proj1.ps remote: proj1.ps 1234 bytes sent in 0.0348 seconds (3.31 Kbytes/s) ftp> quit 221 Goodbye.
"ftp" works in both directions. Suppose you are in your class account, and wish to retrieve your file from your WAM (or other account). You do the same thing as above (except you would ftp to WAM), and instead of using "mput", you would use "mget".
ftp> mput *.ps mput proj1.ps? yOr to transfer all files in the directory.
ftp> mput * mput proj1.ps? yYou can use question mark to match any one character.
You will be asked if you want to send each of the file, one at a time. Type 'y' for YES, and 'n' for NO.
Remember to quit when you are done.