Command Description ------- ----------- ftp ftp.host.name Establish connection to remote ftp site. ncftp ftp.host.name Establish ncftp connection to remote ftp site.
Ftp is the interface for the TCP/IP standard File Transfer Protocol.
To start ftp, you type 'ftp hostname'. To connect to ftp.uu.net from a Unix system, you would type:
world% ftp ftp.uu.net
Where 'world%' is your prompt.
Ftp will now respond with (all of the responses shown below may vary a little from System to System):
Connected to ftp.uu.net. 220 uunet FTP server (Version 5.99 Wed May 23 14:40:19 EDT 1990) ready. Nameworld.std.com:spike:
At this point you should type 'anonymous':
Name: anonymous
Next FTP asks for a password. You should type your account name. In my case I would type 'spike@world.std.com'. The password you type will not echo.
Password: anonymous
If all goes well you should see:
331 Guest login ok, send ident as password. 230 Guest login ok, access restrictions apply. ftp>
You are now connected to uunet. Some commands you can use a this point:
ftp> cd directory-name
This changes your directory on the remote machine. It works just like the Unix 'cd' command. Directory-name should be the name of the top level directory of the archive you are interested in. For example:
ftp> cd comp.sources.unix
If you plan to transfer non-ASCII files (e.g. executable, data, compressed, or object files) type:
ftp> bin
When connected to a UNIX site, bin is a conservative choice, it works with ASCII files as well.
You can now type:
ftp> get filename
and FTP will send you the file, giving it the same name in your directory. You can also use:
ftp> get filename local-filename
if you want to give the file a different name.
To look at a directory type:
ftp> ls
this works like the Unix 'ls'.
If you want to watch the bytes go by
ftp> hash
will cause ftp to print a '#' for every 1024 bytes it sends.
For more detailed information see 'man ftp'.
Also, "help ftp-sites" for a few sites with a lot of software.
ftp Advanced Help
Anonymous Ftp Basics
Ftp is the interface for the TCP/IP standard File Transfer Protocol. If you are planning to transfer files via the FTP protocol from "public" or "anonymous" sites the program NcFTP provides some automation that you might find convenient.
To start Ncftp, type 'ncftp hostname'. To connect to "ftp.uu.net" from a Unix system, type:
world% ncftp ftp.uu.net
Where 'world%' is your command-line prompt.
NcFtp will now respond by logging you into "hostname" as "anonymous" automatically (you will not have to enter your email address or "anonymous" as you used to with regular "ftp"):
Logged into ftp.uu.net. NcFTP 1.6.7 (February 20, 1994) by Mike Gleason, NCEMRSoft. Tip: Sometimes a directory listing is several screens long and you won't remember the thing you wanted. Use the 'predir' command to re-view the listing. The program keeps the copy locally, so you won't have to wait for the remote server to re-send it to you.
You are now connected to uunet. Some commands you can use a this point:
ncftp> cd directory-name
This changes your directory on the remote machine. It works just like the Unix 'cd' command. Directory-name should be the name of the top level directory of the archive you are interested in. For example:
ncftp> cd comp.sources.unix
If you plan to transfer non-ASCII files (e.g. executable, data, compressed, or object files) type:
ncftp> bin
When connected to a UNIX site, bin is a conservative choice, it works with ASCII files as well.
You can now type:
ncftp> get filename
and FTP will send you the file, giving it the same name in your directory. You can also use:
ncftp> get filename local-filename
if you want to give the file a different name.
To look at a directory type:
ftp> pdir
this works like the Unix 'ls | more'.
For more detailed information see 'man ncftp'.
HOME Top of Help Desk Eye On The World The World Kiosk