FTP file locking issues

Posted on 2011-10-26
Last Modified: 2014-11-12

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.
Question by:cpearsona
    LVL 17

    Accepted 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.

    Expert Comment

    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).


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    This article provides a guide on how to optimise your costs within your AWS infrastructure when using some of the common services such as EC2, EBS, S3, Glacier, CloudFront, EIP & ELB.
    If you are thinking of adopting cloud services, or just curious as to what ‘the cloud’ can offer then the leader according to Gartner for Infrastructure as a Service (IaaS) is Amazon Web Services (AWS).  When I started using AWS I was completely new…
    This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
    This is part 3 of a tutorial series on how to set up a Virtual Private Cloud (VPC) in Amazon Web Services.  The series goes over a multi Availability Zone configuration, with public-facing subnets (direct access to the internet) and private-facing s…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now