Re: automagic ftp sessions?
As usual, there is more than one way to do things in Unix/Linux...
Have you looked at cron? (man cron)
crontab -l lists any current cron job schedules and
crontab -e allows you to edit the crontab (cron table).
Basically, you would write a script to do the ftp operation,
mark the script as executable using chmod, and then make a
crontab entry to schedule execution of the script when and
as often as you desire.
On Wed, Jul 07, 1999 at 11:34:45PM -0600, David Karlin wrote:
> Hello,
> I'm running slink and would like to automate an ftp session
> to upload a file to a remote server.
>
> I've been reading a Unix book which says that the "<<"
> redirector is usful for this, but no details or example are
> given.
>
> I've also experimented with the macro function within ftp,
> but have been unable to set up macros which are available
> the next time I run ftp. Seems they last only for one
> session.
>
>
> Anyone care to shed some light?
>
> TIA,
Reply to: