ScoobyNet.com - Subaru Enthusiast Forum

ScoobyNet.com - Subaru Enthusiast Forum (https://www.scoobynet.com/)
-   Computer & Technology Related (https://www.scoobynet.com/computer-and-technology-related-34/)
-   -   Windows FTP - log to text file (https://www.scoobynet.com/computer-and-technology-related-34/595002-windows-ftp-log-to-text-file.html)

darlodge 30 March 2007 10:27 AM

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

HHxx 30 March 2007 12:11 PM

If you are talking about the FTP server, then yes.

Normally stored around C:\WINDOWS\system32\LogFiles

darlodge 30 March 2007 12:33 PM

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

HHxx 30 March 2007 01:32 PM

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

HHxx 30 March 2007 01:43 PM

http://www.microsoft.com/technet/scr...r/default.mspx

Anygood?

darlodge 30 March 2007 06:33 PM

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

twistybits 30 March 2007 06:52 PM

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

darlodge 30 March 2007 09:27 PM

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

David_Wallis 02 April 2007 05:09 PM

you could call it with a script and capture stderr and stdout..

David

darlodge 03 April 2007 04:26 PM

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