Security Basics mailing list archives
RE: Help writing a back up script
From: "Jeff Gercken" <JeffG () kizan com>
Date: Mon, 24 Oct 2005 11:44:59 -0400
If you want to script it, check out curl for win32. http://curl.haxx.se/latest.cgi?curl=win32-nossl Why not zip the files then upload them? I would name them Mon.zip Tue.zip Wed.zip.... That way you maintain a week's worth of files by automatically overwriting the old ones. If you just want to get it done and not use the excuse to learn scripting, you can use an application to syncronise the folders. That way the ftp server will always have a copy of what's going on locally. http://fullsync.sourceforge.net/ Or simply google 'ftp sync' -Jeff -----Original Message----- From: Aaron M Dulles-Coelho [mailto:dulles () artifex org] Sent: Friday, October 21, 2005 10:36 PM To: security-basics () securityfocus org Subject: Re: Help writing a back up script You might consider using cygwin (http://www.cygwin.com/) to help you write some scripts in shell code, or download Perl binaries for Windows (http://www.northbound-train.com/perlwin32.html) and use Perl. --Roo Juan B wrote:
Hi guys, I need to back up some data to remote ftp server on weekly basis. the local machine is xp. how can I write a script that logs in to the ftp ,deletes a a file in the ftp server and uploads the data? thans very much ! Juan __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/
Current thread:
- RE: Help writing a back up script, (continued)
- RE: Help writing a back up script Hayes, Ian (Oct 24)
- Re: Help writing a back up script Cory Foy (Oct 24)
- Re: Help writing a back up script tsummers (Oct 24)
- Re: RE: Help writing a back up script [a] (Oct 24)
- RE: Help writing a back up script Danny Puckett (Oct 24)
- Re: Help writing a back up script David Weise (Oct 24)
- Re: Help writing a back up script Paul Wong (Oct 26)
- RE: Help writing a back up script Matthew Stainforth (Oct 24)
- RE: Help writing a back up script Fernando Panaggio (Oct 24)
- Re: RE: Help writing a back up script barcajax (Oct 24)
- RE: Help writing a back up script Jeff Gercken (Oct 24)
- RE: Help writing a back up script Paul Farrington (Oct 24)
- Re: Re: Help writing a back up script jason . gerfen (Oct 26)
- RE: Help writing a back up script Hayes, Ian (Oct 24)