General discussion

Locked

Cannot delete unwanted files

By jontipping ·
I have a client that had an open FTP, as a result a large number of files and folders have been dumped on the server. While trying to delete the files errors such as "Cannot delete, cannot read from source file or disk" and of course "cannot delete, directory is not empty".
I have tried an FTP client and renaming the the folders.
Any suggestions?

This conversation is currently closed to new comments.

9 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Eminent87 In reply to Cannot delete unwanted fi ...

Sometime when unexpected problem during file transfer can cause this problem. Try going into DOS and delete them that way.

Collapse -

by jontipping In reply to

Poster rated this answer.
Thank you for the input, turned out to be an ownership issue as well as invalid dir names.

Collapse -

by Mikel~T In reply to Cannot delete unwanted fi ...

You may need to stop the FTP server service to terminate the session with the bad files. Sometimes you need to take ownership of the files as well....which should make it possible to get them off the system.

Hope this helps.

Mike C.

Collapse -

by jontipping In reply to

Poster rated this answer.
Thank you for the input, turned out to be an ownership issue as well as invalid dir names.

Collapse -

by Joseph Moore In reply to Cannot delete unwanted fi ...

Try this Technet article on deleting undeletable file names:
http://support.microsoft.com/?kbid=120716
hope this helps

Collapse -

by jontipping In reply to

Poster rated this answer.
Thank you for the input, turned out to be an ownership issue as well as invalid dir names.

Collapse -

by jasonschambers In reply to Cannot delete unwanted fi ...

your ftp site has been hacked and I am guessing you cannot even open or do anything to access these file no matter if your in dos or not. hackers and crackers use ftp site to upload all sorts of things so others can download later. To save yourself a lot of time in the windows 2000 resource kit there is a dos based program called takeown.exe this will allow you to rename the folder and allow you to see the subdirectories of the files he/she has uploaded. all of the other answers posted above will not help you but only slow you down. you can also download takeown.exe from lots of websites just search in google.

Collapse -

by jontipping In reply to

Poster rated this answer.
Thank you for the input, turned out to be an ownership issue as well as invalid dir names.

Collapse -

by jontipping In reply to Cannot delete unwanted fi ...

This question was closed by the author

Back to Windows Forum
9 total posts (Page 1 of 1)  

Related Forums