Re: [CRON] Recommended FTP client to download and upload files?

2008-05-09 Thread Gilles
On Sat, 03 May 2008 16:46:27 +0200, Gilles [EMAIL PROTECTED] wrote: What command-line FTP client would you recommend for this? It looks like lftp is not running like I thought it would :/ Until I ran the following commands manually instead of through CRON, some files on the remote source FTP

Re: [CRON] Recommended FTP client to download and upload files?

2008-05-09 Thread Gilles
On Sat, 10 May 2008 01:53:13 +0200, Gilles [EMAIL PROTECTED] wrote: It looks like lftp is not running like I thought it would Found what it was: The script worked fine when ran manually, but failed when ran by CRON because it couldn't locate lftp: Downloading from Source FTP /var/sync.bash: line

Re: [CRON] Recommended FTP client to download and upload files?

2008-05-04 Thread Gilles
On Sat, 03 May 2008 11:34:30 -0700, prad [EMAIL PROTECTED] wrote: i like lftp the best. you can script it and everything has always worked smoothly for me using it. Thanks guys, lftp did the job. I'll put those two lines in a script and add it to CRON: lftp -u joe,mypass -e mirror -vn ./files

[CRON] Recommended FTP client to download and upload files?

2008-05-03 Thread Gilles
Hello I need to run a CRON job to download files from one FTP server if they're more recent, and upload them to another FTP server. The files all live in one directory, so there's no need for recursion. What command-line FTP client would you recommend for this? Thank you.

Re: [CRON] Recommended FTP client to download and upload files?

2008-05-03 Thread Andrew Pantyukhin
On Sat, May 03, 2008 at 04:46:27PM +0200, Gilles wrote: Hello I need to run a CRON job to download files from one FTP server if they're more recent, and upload them to another FTP server. The files all live in one directory, so there's no need for recursion. What command-line FTP

Re: [CRON] Recommended FTP client to download and upload files?

2008-05-03 Thread Jeffrey Goldberg
On May 3, 2008, at 9:46 AM, Gilles wrote: I need to run a CRON job to download files from one FTP server if they're more recent, and upload them to another FTP server. The files all live in one directory, so there's no need for recursion. What command-line FTP client would you

Re: [CRON] Recommended FTP client to download and upload files?

2008-05-03 Thread prad
On Sat, 03 May 2008 16:46:27 +0200 Gilles [EMAIL PROTECTED] wrote: What command-line FTP client would you recommend for this? i like lftp the best. you can script it and everything has always worked smoothly for me using it. -- In friendship, prad ...