[Linux-disciples] scheduling a file transfer

Adam Rosi-Kessel adam at rosi-kessel.org
Wed Mar 28 17:42:14 EDT 2007


On Wed, Mar 28, 2007 at 04:32:15PM -0400, James Forrest wrote:
> i would like to schedule an FTP session for a specified time.  is it  
> possible to do this with cron?  if so, how is it done?  and i how  
> would i deal with sending the commands that need to happen within FTP?

You can script ftp, but it's easier to script lftp. I'm sure there is an
OS X version, and it should already be installed on the bostoncoop
systems. You would just run a cronjob that called lftp with the script
you wanted.

How to script lftp?  http://www2.papamike.ca:8082/tutorials/pub/lftp.html#scripts

How to use the cron and crontab commands?  <http://www.tech-geeks.org/contrib/mdrone/cron&crontab-howto.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20070328/1de949db/attachment.pgp


More information about the Linux-disciples mailing list