BU509  IT in Orgs

~File Transfer Protocol (ftp)

The file transfer protocol is a method of sending files, for example, from your local PC to the remote server.  The bare bones of what is needed to use ftp is shown below.   Further documentation is available at ftp2.html.

To use ftp from a local PC, while connected through your ISP, and from within Windows95:
[Note:  The terms local & remote are relative. They depend on where you are at the time]

Start   [The Windows "Start" button in the lower left]
Run     [ the "run" option within "Start"]
Open:  ftp     [run the ftp program]
ftp> open  oz.plymouth.edu [connect to oz]
User:  j_doe
Password: *******
ftp> lcd  [list local current directory]
ftp> ls
ftp> cd Home [change current directory to Home]
ftp> put a:\filename.ext  filename.ext  [copy file from floppy to Home]
ftp> quit [exit ftp]

Note:  An example of the ftp message related to a successful transfer follows:
200 PORT command successful
150 Opening ASCII mode data connection for 'junk.xls'.
266 WARNING! 1213 bare linefeeds received in ASCII mode
    File may not have transferred correctly.
226 Transfer complete.
52736 bytes sent in 1.43 seconds (36.88 Kbytes/sec)
ftp>

Addendum:  The above commands work for text files, but images (binary) files (.gif, .jpg, etc) seem to get corrupted in the transfer process.  Therefore, when sending image files, add the command:
ftp> bin
...before the "put" or "get" line to keep the binary files intact.