NOTE: This is an archived copy of the Dragonfire Internet Services website. Dragonfire is no longer in operation; please do not attempt to contact any of the addresses listed on this site.

A Quick-and-Dirty FTP Tutorial

What is FTP?

FTP stands for File Transfer Protocol, and allows two computers on the Internet to exchange files. FTP is based on the client-server model: one computer acts as a client, which sends instructions to the other computer, known as the server. File transfer can go both ways, obviously, but the client computer is always the one which initiates the transfer by sending the appropriate command.

Technically, it is not the computers themselves that are the client and server, but programs running on the computers. The terms client and server are typically used in this sense; an FTP server is a program that allows FTP clients on other computers to connect to it. However, to use FTP well, you only need to worry about clients.

FTP clients generally fall into two categories: command-line clients and graphical clients. Note also that Netscape 2.0 and above allow uploading via FTP; as Netscape is not a true FTP client, it has its own separate section below.

Command-line clients are generally found on Unix systems and others that provide "shell" accounts. Usually you can type "ftp" to get into such a program. (Note that at least some Windows clients fall into this category as well.) If you see something like "ftp>" or "Host:", then you're in a command-line client. To connect to Dragonfire, follow these steps:
  1. Type "open" if your client has an "ftp>"-like prompt, or just "" if it has a "Host:"-like prompt. Replace "accountname" with your own Dragonfire account name.
  2. When prompted for your username, enter it (this is your username, not your account name). Remember that usernames are case sensitive!
  3. You should then see a prompt for your password; enter it as well. Passwords are case-sensitive too.
  4. If you get a message like "Login incorrect", it means you mistyped either your username or your password; type "close" and start over from step 1.
  5. Otherwise, you should see a message like "User your-username logged in.". This means you've successfully connected to Dragonfire.

Once you've connected, there are a number of commands available. The more commonly used commands are listed below. Where two different names are given for a command, your client may have one or the other or both; if one doesn't work, try the other. Arguments to the commands (e.g. filenames you have to give) are given in italics; [brackets] around an argument mean that it's optional. Command names are not case-sensitive (but Unix filenames are!).

Graphical clients provide a windowed interface through which you can "move" files between your computer and Dragonfire. Typically, you'll click on a file from a list of files on one computer, then drag it to the window representing the other computer. This general set of steps should get you connected to Dragonfire:
  1. Fill in the appropriate "connect" information as follows: All other fields should be left alone.
  2. Click on "Connect" (or "OK", or whatever the "go ahead" button is on your client).
Unless you see an error message, you've successfully connected.

Besides the operations of transferring files described above, there will typically be a set of buttons next to the directory windows, with names like "ChgDir", "RmDir", "Rename", or "Delete", which perform those functions. (Alternatively, those commands may be in a menu or toolbar.) Most clients should also have a "Send FTP Command" function, which will allow you to send a raw FTP command (such as the SITE CHMOD command) listed under command-line clients. (Note that most command-line client commands are not raw FTP commands; see the list of raw FTP commands.)

A commonly used and well-regarded graphical FTP client for Windows systems is WS-FTP; a copy can be found at WS-FTP has a menu accessible by clicking the right mouse button in the remote file list window which includes a "QUOTE" command; that command can be used to send raw FTP commands to the server (such as SITE CHMOD).

Netscape, while not truly an FTP client, will let you upload files via FTP. To do so, first open the URL (where your-username should be replaced with your real username). When you're asked for your password, enter it. Then select "Upload File" from Netscape's File menu, and just select the file on your computer to upload.

Notice: To perform any operations other than uploading files, you need to download a real FTP client. One such client for Windows, WS-FTP, can be downloaded from Dragonfire via anonymous FTP.

Andy Church
Last update: 30 November 1998