Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In IIS 7.5 When trying to get current log files using CMD FTP client it gives error

550 error: "The file cannot be accessed because it is in use by another process"

Checked processes using procmon and found that FTP was the only thing accessing it. Port 21 isn't being used by anything else either.

This Thread

and this

are the same issue I am having. I have tried all the suggested fixes (Stopping services / process and restarting, creating user, giving user full rights to nfsw & FTP site, and allowing read file while uploading)

It seems something is locking the file and won't let me access it via FTP.

Any help would be appreciated.

EDIT: I think I found part of the problem. Windows FTP tries to Read/Write when accessing any file? I'm not sure how accurate this is but I'm wondering if there is a way to force windows FTP to only read so it can still access the current log file.

share|improve this question
up vote 1 down vote accepted

Figured it out.

IIS locks the ability to read/write to the current log file.

For some reason FTP (even if just using the get command) is see as reading/writing to the file. Which eliminates the ability to be able to use any kind of FTP (Like we were doing in web trends) to access those logs. What I ended up doing was sharing the log folder directory and accessing in via a network shared drive. Works fine now.

share|improve this answer

Check you log rolling setup. The active log is always locked for writing by IIS (well, the WWW Publishing Service part anyway). If you roll your logs frequently enough, you'll be able to gather the inactive ones easily enough.

share|improve this answer
We do a daily log. I can understand it being locked for writing but I'm just trying to read via FTP. – Ericrobert Feb 21 '13 at 21:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.