Windows FTP - log to text file
Does anyone know if Windows ftp can log it's activity to a text file?
I've searched and I cannot find ANYTHING. Darren |
If you are talking about the FTP server, then yes.
Normally stored around C:\WINDOWS\system32\LogFiles |
Thanks HHxx, I looked in system32\LogFiles but there is no activitiy for the FTP.
It's W2K3 SP1 if that matters. I've tried the usual pipe command (>c:\log.log) to extract the log during transfers but it's an invalid command. I know a full FTP client will do what I want but I wanted to stick with Windows FTP if possible. Darren |
Hi Darren
I'm not sure what you are trying to achieve? What are you trying to pipe to a file? Check if logging is enabled on the FTP site in IIS. H |
|
Thanks, I'll have a read.
Basically I wrote a very simple script to FTP a certain number of files from one server farm to another every hour. It's been working fine for 8/9 months and then for some reason today it sent about 1000% more files than usual! I only found out when our UNIX team called, I was a bit surprised, and they were a bit unhappy! I wanted to enable some sort of logging (be it a simple txt file in the C:\ drive, event log entries etc.) so in future I can check the quantity of files sent etc. and to have a bit of a fault finding trail should something go wrong. Darren |
it sounds like you talking about an FTP send/put command (effectively an FTP client)
Have a look here Microsoft Windows Command-Line FTP Command List |
Thanks twistybits, mput is exactly what I am doing.
Thanks for the link but I found no reference to any logging. The link is basically the same as Mickeysoft Darren |
you could call it with a script and capture stderr and stdout..
David |
Cheers David, I'll have a wee look
Darren |
All times are GMT +1. The time now is 05:33 AM. |
© 2024 MH Sub I, LLC dba Internet Brands