On Mon, 14 Aug 2000, Greg Wright wrote:
>
>
> *********** REPLY SEPARATOR ***********
>
> On 13/08/00 at 9:17 [EMAIL PROTECTED] wrote:
>
> >How is it possible to schedule cron or something else to fetch file from
> some ftp-server e.g. ones a week?
> >Should I use somekind of script or what?
> >This scheduling should work totally automaticly, so no username or
> password asking... or any prompts. I can get to this server with anonymous
> login...
> >
> >I'm running RH6.2
>
>
> Use expect, its probably already installed, read more here
> http://expect.nist.gov/
>
If you need some help on how to do this using expect, check out the
following URL (bottom of the page contains information on how to write an
expect script to do precisely what you're asking):
http://www.oreilly.com/catalog/expect/chapter/ch03.html
------------------------------
Nitebirdz
http://www.linuxnovice.org
Tips, articles, news, links...
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list