Originally Posted by battleship
Wouldn't I log onto the server and be at the ftp prompt?
Nope. As Eric said, wget
is a command line tool on its own. It takes care of establishing a connection based on the protocol specified in the URL and download files and directories following the specified path. For example, the command:
wget --mirror ftp://ftp.something.it/pub/linux/distributions/slackware/slackware-13.1
should download (mirror) recursively the entire slackware directory from the remote server into the current directory.
Another suitable tool is lftp
. You can either use it in a single command line or establish a connection and work interactively at a lftp command prompt (maybe you feel more comfortable with this second one). The advantage over the normal ftp client is that it can manage recursive download and mirrors. For example a single command line like this should do the trick:
lftp -e 'mirror /pub/linux/distributions/slackware/slackware-13.1; quit' ftp.something.it
offers you a command prompt.
Anonymous connection is the default for both wget and lftp. Hope this helps.