downloading entire directories
Tony Shadwick
tshadwick at goinet.com
Fri May 20 14:58:35 PDT 2005
There are two ways you could do this. The first is like so:
create the actually directory locally
ftp to the remote system
cd to the directory
Then type the following:
prompt
mget *
Now, that doesn't recurse. :\
The other way would be to do 'portinstall wget', then 'man wget'.
Tony
On Fri, 20 May 2005, Eugene Hercun wrote:
> I was wondering if ftp is able to download entire directories. I've
> read through the man page and didn't really find anything specific to
> downloading a selected directory. There was a note however, saying to
> use tar to tar a directory and then download that tar file. The
> problem is I do not have remote access to this particular ftp server.
> The only alternative that I could think of using is wget. Although I
> would prefer to use ftp.
> Thank you.
> This is for a perl script to basically check an ftp server every day,
> download what's new, and add the new items to a database to not
> download the same items again the next day.
>
> Eugene
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list