[EMAIL PROTECTED] wrote: > Hi folks, > > I want to analyze my SERV-U FTP logfile. Unfortunately, I have file > names or directories with spaces on the server and these files do not > get reported. > > Can someone please tell me how to do it right?! > > Current logformat goes like this: > > LOGFORMAT "[%j] %j %d%M%y %h:%n:%j - (%j) Sent file %r successfully
That tells Analog that the requested file (%r) ends when Analog encounters a space. That means that filenames with a space end where the space occurs, and the rest of the line no longer matches your logformat, so the line is considered corrupt. If you can't change the server to properly delimit the entries in the logfile, then you might be better off with a LOGFORMAT like: [%j] %j %d%M%y %h:%n:%j - (%j) Sent file %r(%j kB/sec - %b Bytes) This will include the " successfully " in the filename, which you should be able to get rid of with a FILEALIAS command: FILEALIAS "* successfully " %1 > Error.txt shows me lines like the ones below, that could not be > processed: > > [4] Tue 03Apr07 13:15:00 - (000101) Received file > d:\ftproot\privat\software\via hyperion\via_hyperionpro_v510a.zip > successfully (386 kB/sec - 7795214 Bytes) [4] Wed 11Apr07 22:55:43 - > (000013) Received file > d:\ftproot\privat\software\altiris\applications\firefox 2.0.2.vsa > successfully (260 kB/sec - 35297153 Bytes) [3] Sat 14Apr07 21:53:45 - > (000039) Sent file > d:\ftproot\privat\software\altiris\applications\the gimp.vsa > successfully (80.9 kB/sec - 25328286 Bytes) [3] Sun 15Apr07 00:58:37 > - (000073) Sent file d:\wwwroot\200102_thailand\images\tauchbild film > iv.jpg successfully (169 kB/sec - 87996 Bytes) Weird - when I try to run Analog against these lines, with my suggested change to the LOGFORMAT, Analog tells me that I have successful requests, but it won't generate a request Report, so I can't verify that my ALIAS command works. Aengus +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Analog Documentation: http://analog.cx/docs/Readme.html | List archives: http://www.analog.cx/docs/mailing.html#listarchives | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general +------------------------------------------------------------------------

