Scott, You can run any number of lftp commands from a file. Create a file somewhere, lftp.cmds. Put one command per line:
open -u user,pass host.com cd /dir mirror --only-newer . . For your cron, simply run lftp -f /path/to/lftp.cmds It's great for quick and easy offsite backups. -Andy ----- Original Message ----- From: "Scott" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 14, 2002 6:45 PM Subject: scripts > hello > can I use lftp to make a script which automatically at ftp's a file to an > ftp server? > a script which I can put in cron.daily to execute? > if so is there a place where I can see a sample of such a script? > thanks > > > Scott Kopel > FSU - English Department > 850 644 6177 > >
