LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   ftp: Download folders and contents (https://www.linuxquestions.org/questions/linux-general-1/ftp-download-folders-and-contents-14638/)

plisken 02-19-2002 03:35 PM

ftp: Download folders and contents
 
I'm creating a small cron job which will download the entire contents of my web folder on a web server.

I can successfully connect and log in with FTP but I'm struggeling to download all files and folders.

Any help would be appreciated!

Thanks

isajera 02-19-2002 06:21 PM

using the get command only retrieves one file at a time - you'll need to use mget to get an entire directory.

Mik 02-20-2002 03:30 AM

Go to http://www.ncftp.com and download the ftp client. It allows you to schedule batch jobs of files to download in the background. You can easily use cron to schedule the downloads.

jharris 02-20-2002 03:30 AM

wget will probably also be your friend here. Or Perl's rather nice FTP module.

cheers

Jamie...


All times are GMT -5. The time now is 03:16 AM.