[Next] [Up] [Previous] [Contents]
Next: Quitting FTP Up: Linux Installation and Getting Previous: Poking Around

Downloading files

Before downloading files, there are a few things that you need to take care of.

Now you're ready to actually download the file. The command

remote-name local-name
is used for this, where remote-name is the name of the file on the remote machine, and local-name is the name that you wish to give the file on your local machine. The local-name argument is optional; by default, the local filename is the same as the remote one. However, if for example you're downloading the file README, and you already have a README in your local directory, you'll want to give a different local-filename so that the first one isn't overwritten.

For our example, to download the file README, we simply use

> get README
200 PORT command successful.
150 ASCII data connection for README (128.84.181.1,4527) (1433 bytes).
#
226 ASCII Transfer complete.
local: README remote: README
1493 bytes received in 0.03 seconds (49 Kbytes/s)
ftp>


[Next] [Up] [Previous] [Contents]
Next: Quitting FTP Up: Linux Installation and Getting Previous: Poking Around


mdw@sunsite.unc.edu