Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1327
  • Last Modified:

FTP file locking issues


We have several windows 2008 IIS7 web servers setup. They all use FTP 7.5 to allow multiple users access to their individual website folders.

This works in principle however we experience lots of file locking issues. For example:

User ftp's in to site, attempts to delete some old files to replace with new versions (e.g a new wordpress plugin for example), receives  file permissions error (varies slightly on ftp client, but invariable they are file locked / no permissions errors).

If an admin then browses to that file on the actual server in question they will be unable to delete the file as well. The file will eventually be deleted in time (unsure how long but certainly longer than 10 mins) or if we restart the ftp service, or the iis service.

We have tried turning off caching and indexing on the website folders with no resolution.

thanks for any help.
1 Solution
Are these files that are in use? What type of files?
I don't know much about the wordpress plugin but I expect that this could be accessed a lot on a busy site.

Anyway if you want to know what which file is locking in a windows environment the tool you need to use is Process Monitor

It is a heavy debug tool you will need to filter a lot and only look at the relevant locked files.
Hi - any luck figuring this out?

We a very similar setup, running Win Server 2k8 / IIS 7 / FTP 7.5 (on an Amazon EC2 AWS instance).

Periodically ftp uploads will leave the file locked (unable to delete/rename/overwrite/etc). Eventually the file will be release by whatever has it open (could be 10-20-30 mins).


Featured Post

Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team – a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now