Error 450: Cannot open or remove a file containing a running

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
mcarcasson
500 Command not understood
Posts: 2
Joined: 2012-05-26 18:34
First name: Martin
Last name: Carcasson

Error 450: Cannot open or remove a file containing a running

#1 Post by mcarcasson » 2012-05-26 18:38

I am getting this error when I tried to update a file:

450 index.html: Cannot open or remove a file containing a running program

It doesn't let me update the file, delete it, or rename it. It is letting me update other files.

Any ideas? I know enough to update, but not much else.

mcarcasson
500 Command not understood
Posts: 2
Joined: 2012-05-26 18:34
First name: Martin
Last name: Carcasson

Re: Error 450: Cannot open or remove a file containing a run

#2 Post by mcarcasson » 2012-05-26 18:52

I found this online (http://yezdibooo.blogspot.com/2009/10/c ... ining.html), but I don't really understand it


Cannot open or remove a file containing a running program
To resolve this login as root.

Run ps -ef grep ftpd to get a list of running FTP daemons.

Kill the the ftpd processes then the file can be deleted.

When the connection broke the thread was not killed so it thinks it is still copying data to the file and the file remains locked until the process is killed.

User avatar
boco
Contributor
Posts: 24754
Joined: 2006-05-01 03:28
Location: Germany

Re: Error 450: Cannot open or remove a file containing a run

#3 Post by boco » 2012-05-26 20:22

I found this online (http://yezdibooo.blogspot.com/2009/10/c ... ining.html), but I don't really understand it
This needs to be done on the server. If you are not the administrator of the server the article doesn't benefit you.

I think the error message is a bit misleading, it probably just means some process on the server has locked your file exclusively. This can happen after failed uploads, since the FTP daemon/server uses sub-threads (or workers) to handle transfers. If now such a worker (which has the file's handle in use) gets stuck, the main FTPd and other workers cannot access the file anymore. Even terminating that stuck thread may leave the file locked, if the file handle isn't released properly (e. g. ''handle leak'').

Long story short, you need to get in touch with server support, as this problem is with the server. FileZilla cannot get around that.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
### END SIGNATURE BLOCK ###

Post Reply