Date: Fri, 20 May 2005 16:58:15 -0500 (CDT) From: Tony Shadwick <tshadwick@goinet.com> To: Eugene Hercun <eugene.hercun@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: downloading entire directories Message-ID: <20050520165633.R11826@mail.goinet.com> In-Reply-To: <c04ca341050520141040bd0c27@mail.gmail.com> References: <c04ca341050520141040bd0c27@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050520165633.R11826>