Windows Tutorials - Herong's Tutorial Examples
Dr. Herong Yang, Version 5.00

Checking FTP Server Log File

This section provides a tutorial example on how to check FTP server log file.

If you look the settings, you will find out that the log file is located in C:\WINDOWS\System32\LogFiles\MSFTPSVC1 directory. Open the last log file, exnnnnnn.log, you should see something like:

#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date:  03:55:34
#Fields: time c-ip cs-method cs-uri-stem sc-status 
03:55:34 127.0.0.1 [1]USER anonymous 331
03:55:42 127.0.0.1 [1]PASS me@herongyang.com 230
03:55:49 127.0.0.1 [1]QUIT - 226
04:07:57 127.0.0.1 [2]sent /ftp.html 226
04:07:57 127.0.0.1 [2]sent /index.html 226
04:07:58 127.0.0.1 [2]sent /reference.html 226
03:55:49 127.0.0.1 [1]QUIT - 226

Interestingly, it did not record the "dir" command.

Sections in This Chapter

Setting Up FTP Server with IIS

FTP Command Line Client Program

Downloading Files with FTP Commands

Checking FTP Server Log File

Uploading Files to FTP Servers

Dr. Herong Yang, updated in 2008
Checking FTP Server Log File