How To Use FTP

URLs for FTP

Clued-in people will write a URL as shorthand for anonymous FTP:
 ftp://ftp.openbsd.org/pub/OpenBSD/4.7/i386/*.tgz 

That does not mean that you have to use a web browser, and it does not mean that you should try typing that as a command! Instead, it means:

The following provides step-by-step directions.

FTP, Step by Step

Making Things Even Easier With wget

The wget command can make things even easier! You can just do this:
 $ wget ftp://wherever.example.com/whatever 

You can also use wild cards, if you are careful to hide them from the command shell:
 $ wget 'ftp://wherever.example.com/w*.pdf' 

Real power users with plenty of disk space can tell wget to recursively pull down an entire FTP archive:
 $ wget -r ftp://wherever.example.com/ 
That command will create a new directory named wherever.example.com and populate it with all the subdirectories and files found on that FTP server.

Still Baffled?

Click here to read the on-line FTP manual page.

That's the OpenBSD manual page, but it should be close enough for any reasonable FTP client implementation.


Back to the UNIX page

Click here to inquire about advertising on this or any page on this site.
Home Unix/Linux Networking Cybersecurity Travel Technical Radio Site Map Contact


Use /bin/vi! Manipulate images with ImageMagick! Hosted on OpenBSD
Hosted on Apache This site is viewable with any browser Valid XHTML 1.0! Valid CSS!
© Bob Cromwell Feb 2012. Created with /bin/vi and ImageMagick, hosted on OpenBSD with Apache.    Root password available here, privacy policy here.