[Sussex] Automated FTP
Thomas Adam
thomas_adam at bonbon.net
Sat Jul 10 15:25:08 UTC 2004
On Sat, 10 Jul 2004 13:18:16 +0000
Matthew Macdonald-Wallace <matthew at truthisfreedom.org.uk> wrote:
> Hi,
>
> As part of a project I'm working on, I need to be able to automate the
> ftp process.
>
> Basically, I need to send a file to an email address, this then
> uploads it to the server. The problem is that the server is not mine,
> it is a webhosting account that will not allow me ssh or any other
> kind of shel access.
>
> is it possible to do this using ftp and a shell script with cron?
FTP used to (and probably still does), read ~/.netrc which can ne used
for automation. Failing that, you can write some expect.....
-- Thomas Adam
--
"Annie Hall leaves New York in the end. Press rewind, and Woody gets her
back again." -- "Look Inside America", Blur.
More information about the Sussex
mailing list