Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Windows FTP - log to text file

Thread Tools
 
Search this Thread
 
Old 30 March 2007, 10:27 AM
  #1  
darlodge
Scooby Regular
Thread Starter
 
darlodge's Avatar
 
Join Date: Oct 2001
Location: Lovely Lancing in West Sussex
Posts: 3,449
Likes: 0
Received 0 Likes on 0 Posts
Default 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
Old 30 March 2007, 12:11 PM
  #2  
HHxx
Scooby Regular
 
HHxx's Avatar
 
Join Date: Nov 2001
Posts: 2,576
Likes: 0
Received 0 Likes on 0 Posts
Default

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

Normally stored around C:\WINDOWS\system32\LogFiles
Old 30 March 2007, 12:33 PM
  #3  
darlodge
Scooby Regular
Thread Starter
 
darlodge's Avatar
 
Join Date: Oct 2001
Location: Lovely Lancing in West Sussex
Posts: 3,449
Likes: 0
Received 0 Likes on 0 Posts
Default

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
Old 30 March 2007, 01:32 PM
  #4  
HHxx
Scooby Regular
 
HHxx's Avatar
 
Join Date: Nov 2001
Posts: 2,576
Likes: 0
Received 0 Likes on 0 Posts
Default

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
Old 30 March 2007, 01:43 PM
  #5  
HHxx
Scooby Regular
 
HHxx's Avatar
 
Join Date: Nov 2001
Posts: 2,576
Likes: 0
Received 0 Likes on 0 Posts
Default

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

Anygood?
Old 30 March 2007, 06:33 PM
  #6  
darlodge
Scooby Regular
Thread Starter
 
darlodge's Avatar
 
Join Date: Oct 2001
Location: Lovely Lancing in West Sussex
Posts: 3,449
Likes: 0
Received 0 Likes on 0 Posts
Default

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
Old 30 March 2007, 06:52 PM
  #7  
twistybits
Scooby Regular
 
twistybits's Avatar
 
Join Date: Jul 2006
Location: West Sussex
Posts: 293
Likes: 0
Received 0 Likes on 0 Posts
Default

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
Old 30 March 2007, 09:27 PM
  #8  
darlodge
Scooby Regular
Thread Starter
 
darlodge's Avatar
 
Join Date: Oct 2001
Location: Lovely Lancing in West Sussex
Posts: 3,449
Likes: 0
Received 0 Likes on 0 Posts
Default

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
Old 02 April 2007, 05:09 PM
  #9  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

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

David
Old 03 April 2007, 04:26 PM
  #10  
darlodge
Scooby Regular
Thread Starter
 
darlodge's Avatar
 
Join Date: Oct 2001
Location: Lovely Lancing in West Sussex
Posts: 3,449
Likes: 0
Received 0 Likes on 0 Posts
Default

Cheers David, I'll have a wee look

Darren
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
FuZzBoM
Wheels, Tyres & Brakes
16
04 October 2015 09:49 PM
Ganz1983
Subaru
5
02 October 2015 09:22 AM
Nick_Cat
Computer & Technology Related
2
26 September 2015 08:00 AM
Littleted
Computer & Technology Related
0
25 September 2015 08:44 AM



Quick Reply: Windows FTP - log to text file



All times are GMT +1. The time now is 01:28 AM.