At 02:11 AM 12/9/2006 -0000, Serge wrote: >Hi Pete & all > >after >> 200 PORT command successful. Consider using PASV. >I am getting >425 connection failed > >Is this another FW issue ? > >would you please share the batch & script you use with wput to upload logs >on pasv mode
I've just finished putting mine all together. Each of the components have been tested individually, tonight shortly after midnight will be the first test of it in it's entirety. In the way of explanation, here's what I'm doing each night shortly after midnight: - moving the current logfile to a subfolder, thus rotating the logfiles - renaming the file to add the date -this uses the Namedate utility I found at http://www.informatics-consulting.de/software/namedate.htm - uploading the file - moving the file to yet another subfolder -this is because the upload script uses * to cover the date variable, so it wouldn't be good to have 2 or more dated files in the same folder - sending myself an email confirming that the process has completed successfully ** I'd be happy to hear comments or tips if anyone has any. THE CMD FILE(located in c:\imail\sniffer\logs): @echo off c: cd c:\imail\sniffer move c:\imail\sniffer\licenseID.log logs cd c:\imail\sniffer\logs namedate /UYO-1Z:"ymd" "licenseID.log" echo Log dated! >> sniffupld.txt wput -nd licenseID_*.log ftp://snifferlog:[EMAIL PROTECTED] echo Log upload completed! >> sniffupld.txt move c:\imail\sniffer\logs\licenseID_*.log sent echo Log moved to Sent folder! >> sniffupld.txt c:\imail\imail1 -f c:\imail\sniffer\logs\sniffupld.txt -s "Sniffer log upload on %COMPUTERNAME%" -t [EMAIL PROTECTED] -u sniffer -h yourdomain.net echo Confirmation emailed! del c:\imail\sniffer\logs\sniffupld.txt :Done This is all in a upload.cmd file I'l set to run shortly after midnight via Task Scheduler. *NOTE: The Namedate command includes the variable O-1 which makes the name 1 day before the current date. I did this so the logfile name reflects the actual day the log covers. -- Kirk Mitchell-General Manager [EMAIL PROTECTED] Keystone Connect Unlock Your World Altoona, PA 814-941-5000 http://www.keyconn.net ############################################################# This message is sent to you because you are subscribed to the mailing list <sniffer@sortmonster.com>. To unsubscribe, E-mail to: <[EMAIL PROTECTED]> To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]> To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]> Send administrative queries to <[EMAIL PROTECTED]>