Security Basics mailing list archives
Re: Help writing a back up script
From: Cory Foy <Cory.Foy () mobilehwy com>
Date: Mon, 24 Oct 2005 09:51:07 -0400
Hayes, Ian wrote:
From: Juan B [mailto:juanbabi () yahoo com] 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?Write a text file that has the FTP commands you want to execute: ftp somehost USER myuser PASS mypass DELETE oldfile PUT newfile Save as ftpscript.txt Invoke the script like so: ftp -s:ftpscript.txt
Right. Then put the FTP command in a batch file and use windows scheduler to run that.
Cory
Current thread:
- Help writing a back up script Juan B (Oct 21)
- Re: Help writing a back up script Aaron M Dulles-Coelho (Oct 24)
- Re: Help writing a back up script Justin (Oct 24)
- Re: Help writing a back up script ilaiy (Oct 24)
- Re: Help writing a back up script Justin (Oct 24)
- Re: Help writing a back up script Jonathan Loh (Oct 25)
- Re: Help writing a back up script Terence Summers (Oct 25)
- Re: Help writing a back up script Ralf Allar (Oct 25)
- Re: Help writing a back up script Adam Gardner (Oct 25)
- Re: Help writing a back up script ilaiy (Oct 24)
- <Possible follow-ups>
- 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)
