[SWLUG] batch ftp

Tim Bonnell Tim.Bonnell at CarringtonWire.com
Mon Oct 13 14:03:41 UTC 2003


I just happened to be catching up on my magazines, and read an article on
'rsync'

Linux Format magazine, September 2003 (Issue #44) Pages 52-55

Seems to be just what is needed.

It sunchronises folders across a network, only transfering new and changed
files, and compresses the data to minimise bandwidth. Can also use the SSH
protocol to encrypt if appropriate.

Regards,	Tim

+------------------------------------------------+
| Tim.Bonnell at CarringtonWire.com                 |
| IT Manager - Carrington Wire Cardiff           |
| PO Box 56, Pengam Works, Cardiff CF24 2WR      |
| Tel:+44(0) 29 20256100 Fax:+44(0) 29 20256101  |
| www.CarringtonWire.com                         |
+------------------------------------------------+

-----Original Message-----
From: linlist2 at nwjones.demon.co.uk [mailto:linlist2 at nwjones.demon.co.uk]
Sent: 13 October 2003 14:57
To: discuss at swlug.org.uk
Subject: Re: [SWLUG] batch ftp


hagbard at nildram.co.uk wrote:
> On 14:55 Thu 09 Oct     , nat wrote:
> > hi collective knowledge of swlug!
> > 
> > bit of a query, i've got a heap of remote boxes that i need to backup 
> > data from to a server every night. the protocol i've got to use is ftp, 
> > insecure on its own but this is in an ipsec tunnels :)
> > 
> > does anyone know of any readily avaiable scripts of utils for uploading 
> > the whole of a directory and its sub directorys and files easily? i'm 
> > hoping something has already been written and i wont have to hack 
> > something together in perl.
> > 
> > the boxes as a mixture of redhat and debian.
> > 
> > ta in advance,
> > 
> > :)
> > 
> > nat,
> > -- 
> > http://photos.nuqe.net
> > 
> > 
> > _______________________________________________
> > SWLUG Discussion List - Discuss at swlug.org.uk
> > http://list.swlug.org.uk/mailman/listinfo/discuss
> Hi nat,
> 
> ncftp is available which has a non-interactive ftp client designed to be
> called from shell scripts. It has a batch mode and can recursively descend
> an entire directory tree. There's also a perl module Net::FTP but I've
> never used it.
> 
> Just a thought, but if security isn't a problem, might it be easier to use
> rsync? It's smarter than ftp in that it knows not to replace files if they
> haven't changed. It's a pretty standard service so should be readily
> available on your redhat/debian machines.
> 
> Cheers
> 
> Bryn

I've used the perl module very effecttively.
It is simple to use and works well.

Neil Jones- Neil at nwjones.demon.co.uk http://www.butterflyguy.com/
"At some point I had to stand up and be counted. Who speaks for the
butterflies?" Andrew Lees - The quotation on his memorial at Crymlyn
Bog National Nature Reserve



_______________________________________________
SWLUG Discussion List - Discuss at swlug.org.uk
http://list.swlug.org.uk/mailman/listinfo/discuss

****** Internet Email Confidentiality ****** 
Privileged/Confidential Information may be contained in this message.  If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone. In such case, you should destroy this message and kindly
notify the sender by reply email. Please advise immediately if you or your
employer do not consent to Internet email for messages of this kind. 

Opinions, conclusions and other information in this message that do not
relate to the official business of Carrington Wire Ltd shall be understood
as neither given nor endorsed by it. 
********************************************




More information about the Swlug mailing list