here'a a nice tool for mirroring files for backup by ftp (WGET) , plus 
below is a command line email tool (BLAT)  which when used with a nice 
old dos style batch file and the windows task scheduler, lets you 
automate backups

I though it might be useful for someone out there, I spent about 6 hours 
trying out lots of windows gui tools, before I found this nice combo of 
command line tools

zac

example batch file
-------------------------------------------------
rem backup job for sql server backup files
rem author [EMAIL PROTECTED]

wget -m -t0 -T30 -nv -o mirror.log 
ftp://username:[EMAIL PROTECTED]/sql_backup/
blat mirror.log -subject "MIRROR SQLBACKUP for my.ftpserver.com LOG" -to 
[EMAIL PROTECTED]
-------------------------------------------------

short explanation of the wget options
-m is mirror ( recursive copy )
-t0 keep trying for ever when the ftp session fails
-T30 timeout 30s
-nv non verbose output
-o output to log file, -a is append to log file


GNU Wget

http://www.gnu.org/software/wget/wget.html

GNU Wget is a free software package for retrieving files using HTTP, 
HTTPS and FTP, the two most widely-used Internet protocols. It is a 
non-interactive commandline tool, so it may easily be called from 
scripts, cron jobs, terminals without Xsupport, etc.

Wget has many features to make retrieving large files or mirroring 
entire web or FTP sites easy, including:

Can resume aborted downloads, using REST and RANGE Can use filename wild 
cards and recursively mirror directories NLS-based message files for 
many different languages Optionally converts absolute links in 
downloaded documents to relative, so that downloaded documents may link 
to each other locally Runs on most UNIX-like operating systems as well 
as Microsoft Windows Supports HTTP and SOCKS proxies Supports HTTP 
cookies Supports persistent HTTP connections Unattended / background 
operation Uses local file timestamps to determine whether documents need 
to be re-downloaded when mirroring GNU wget is distributed under the GNU 
General Public License.


 
BLAT for Windows

http://www.interlog.com/~tcharron/blat.html

Easily mail any file from the command line

Blat is a Public Domain Windows 95/NT console utility that sends the 
contents of a file in an e-mail message using the SMTP protocol. Blat is 
useful for creating scripts where mail has to be sent automatically 
(CGI, backups, etc.), or just as a quick way to send a file or message 
quickly from the command line. It will store relevant configuration 
details in the registry for ease of use. Optionally, blat can also 
attach multiple binary files to your message.

______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to