Re: ftp scripts


Subject: Re: ftp scripts
From: Jared Armstrong (jared@alyeskaresort.com)
Date: Wed Jul 10 2002 - 10:37:10 AKDT


You can use cron to schedule the transfer, then use expect with ftp, or ftp
in non-interactive mode (the -i and -n command line options).

If you don't already have it, expect is available here:
http://expect.nist.gov/

The O'Reilly book is also a very nice resource.

On Wednesday 10 July 2002 09:47, Mike Baker wrote:
> Is there a mechanism to have an ftp script in linux like there is in
> Windows. I want to log into a number of computers to ftp some data
> extracts. I have batch files in windows that I can schedule and figure
> that there must be a way to do this in Linux also. In windows you pass a
> command file to ftp that it reads and then executes the commands in order.
> When I do a man ftp I don't see this option.
>
>
>
> Thanks
>
> Mike

-- 
[------------------------------------------------------------------------]
[Jared Armstrong                                     System Administrator]
[Alyeska Resort                                      907.754.2100        ]
[http://www.alyeskaresort.com                                            ]
[http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xFA0320D7            ]

"In order to make an apple pie from scratch, you must first create the universe." -- Carl Sagan, Cosmos [------------------------------------------------------------------------]

--------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Wed Jul 10 2002 - 10:39:09 AKDT