Still occurring. Attached are the files used. I am using these same scripts on my server and it is working fine.
John Tolmachoff Engineer/Consultant/Owner eServices For You > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of John Tolmachoff (Lists) > Sent: Wednesday, June 23, 2004 1:31 AM > To: [EMAIL PROTECTED] > Subject: [sniffer] Problem sending logs > > Trying to set up a new client. > > Testing the logrotate script. > > Starting at about 01:10 AM to test, can not upload logs. I kept getting not > connected messages. > > Any one else experiencing this? My log upload went fine at 11:45 PM. > __________________________________________ > ftp> Connected to www.sortmonster.net. > > ftp> open ftp.sortmonster.net > Not connected. > > ftp> user snifferlog ki11sp8m > Not connected. > > ftp> binary > Not connected. > > ftp> put C:\Logs\Sniffer\clientid.log > quit > ___________________________________________ > John Tolmachoff > Engineer/Consultant/Owner > eServices For You > > > > > This E-Mail came from the Message Sniffer mailing list. For information and > (un)subscription instructions go to > http://www.sortmonster.com/MessageSniffer/Help/Help.html
open ftp.sortmonster.net user snifferlog ki11sp8m binary put C:\Logs\Sniffer\clientid.log quit
rem logrotate.cmd 20030404 _M rem rem Provided As-Is - this is only an example. rem You _MUST_ alter this file to fit your needs. rem rem This script works with the file logrotate.ftp to automatically rem rotate and upload your Message Sniffer log files. Typically you rem would schedule this script to execute using AT or the scheduler rem so that it runs once per day. rem First, get into your sniffer directory so everything is local. cd c:\Imail\sniffer rem Next move the current log file out so it can be uploaded and then rem we launch FTP using a script (logrotate.ftp) to send it on it's way. rem rem Be sure to modify the logrotate.ftp script so that it looks for the rem correct log file name to upload. Avoid trying to upload the live log rem file as this can cause you trouble. Always move the live log file to rem a new name first as we have below. rem rem FTP is present on NT, Win2k, and XP for sure... probably others as well. rem If you have trouble with your FTP please see your windows help. rem rem NOTE that we've prepended our domain because we're using a common rem license id. If we were using a unique license ID his would not be rem necessary. When uploading log files it is important that the file rem name is unique. copy clientid.log C:\Logs\Sniffer\ del clientid.log ftp -n -s:logrotate.ftp >ftpupload.log rem This next part keeps some old log files around. You can adjust it rem to the number of days you like to keep... we only keep 3 days. If rem you don't want to keep any then here would be a good place to simply rem delete the log file you just uploaded. It's a good idea to do something rem here so that the file eventually goes away. CD C:\Logs\Sniffer C: namedate.exe /Y /U /Z: "mdY" clientid.log rem To add more days to the backup logs simply edit the delete line and rem add more rename lines with appropriate number extensions. rem rem NOTE that when you're starting this off, may of the rename lines rem will fail... but that is harmless! If you want to clean this up rem you can include an if exist statement like we have for the del. We rem leave it off here for brevity.
