Your Internet Consultant - The FAQs of Life Online
For instance, say that your present working directory on your local computer contains five files, as follows:
put Privacy_Anonymity_FAQ -- will send one file
Note: Some anonymous FTP sites don't allow you to send files; you only can receive them. More commonly, there is a specific directory where you're allowed to put file submissions for the FTP site. Check to see whether the FTP site has a directory called /incoming. If so, you're expected to deposit any incoming files there. If you're using full-privilege FTP, you can put files anywhere on the system that you have permission to write files.
Here's an example of using the put command. (By the way, here I'm putting a file on a computer in Finland.)
$ ftp garbo.uwasa.fi Connected to garbo.uwasa.fi. 220 garbo.uwasa.fi FTP server (Version 5.77 ...) ready. Name (garbo.uwasa.fi:ts): anonymous 331 Guest login ok, send ident as password. Password: 230 Guest login ok, access restrictions apply. ftp> cd /pc/incoming 250 CWD command successful. ftp> binary 200 Type set to I. ftp> put myprog.zip 200 PORT command successful. 150 Opening BINARY mode data connection for myprog.zip 226 Transfer complete. local: myprog.zip remote: myprog.zip 37775 bytes sent in .13 seconds (2.8e+02 Kbytes/s) ftp> quit 221 Goodbye.
Table of Contents | Previous Section | Next Section