[Wolves] cron upload

Gary gary at leamore.net
Fri Jan 28 15:00:58 GMT 2005


I agree, use the mirror command http://www.sunsite.org.uk/packages/mirror/

DOS did have the -s:filename command where you could specify a file and have
the contents as such:-
siteHost
siteUsername
sitePassword
prompt 
Lcd ...
Cd ...
Mput *

But I'm not sure if this option is available in linux.

Gary



-----Original Message-----
From: wolves-bounces at mailman.lug.org.uk
[mailto:wolves-bounces at mailman.lug.org.uk] On Behalf Of Stuart Langridge
Sent: 28 January 2005 14:14
To: Wolverhampton Linux User Group
Subject: Re: [Wolves] cron upload

On 28/1/2005, "Rob Annable" <rob.annable at gmail.com> wrote:

>What I'd like to do is set up some sort of cron job that would 
>occasionally upload the contents of a folder to my webserver via ftp.
>That way I could just drop in a file and it would do the rest for me.
>
>Any ideas on how to write the command?

Use lftp, specifically its "mirror" option. I've used that very successfully
in the past. I can't remember the exact details, mind.

Aq.

_______________________________________________
Wolves LUG mailing list
Homepage: http://www.wolveslug.org.uk/
Mailing list: Wolves at mailman.lug.org.uk
Mailing list home: http://mailman.lug.org.uk/mailman/listinfo/wolves






More information about the Wolves mailing list