[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Automating ftp



On Wednesday, May 9, 2001, at 08:01 PM, Gerald Waugh wrote:

At 5/9/01 08:39 PM +0100, you wrote:
Since a few weeks we have a cobalt raq 4 server and i know it's possible to automate some tasks, but is it possible to create a script that downloads a
few files from an ftp server to the raq and then upload these files to
another server? and if it's possible how do i do this?

- snip -

Hello,

My favorite is actually expect. It is a very thorough package, being able to utilize secure transfers, etc. It comes with a lot of examples, and I would be glad to send you some of mine. Anyway expect can be seemlessly installed on a Raq via commands ...

wget http://expect.nist.gov/expect.tar.gz

and

wget http://expect.nist.gov/tcl.tar.gz

just use tar -xzf tcl.tar.gz
cd tcl8.3.2/unix
./configure
make
make install
cd ../../
tar -xzf expect.tar.gz
expect-5.32/
./configure
make
make install

And you are ready!

Eric