[Linux-disciples] scheduling a file transfer

Dylan Thurston dthurston at barnard.edu
Wed Mar 28 18:41:43 EDT 2007


On Wed, Mar 28, 2007 at 05:42:14PM -0400, Adam Rosi-Kessel wrote:
> 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>

Also, if you need to type a password, you should use the sftp (ftp over
ssh) and set up ssh so you can log in with no password.

Peace,
	Dylan
-------------- 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/3ccd9eed/attachment.pgp


More information about the Linux-disciples mailing list