The Basics of FTP

FTP (File Transfer Protocol) allows a user to transfer files to/from a remote network site.

Topics: Basic Order of Operations | Commands | Example Screen Shots

Click to download this tutorial in PDF format!

Basic Order of Operations:

  1. Change to your local directory where most (if not all) of the files you will be transferring are kept.
  2. Open a connection to the remote host via the ftp command.
  3. Once connected to the remote host, change to the directory (cd command) where the files are that you are going to get or to the location where you are going to put files.
  4. Set the transfer mode (ascii or binary).
  5. Transfer the files (get, mget, put, mput).
  6. Repeat steps 1, 3, 4, 5 as necessary.
  7. Exit ftp with the bye command.


Example Screen Shots:

  1. ftp and user
  2. help and ?
  3. ls and dir
  4. pwd, cd, lcd, binary, put
  5. mput, prompt, dir
  6. rename, dir, delete, bye