Discussion Locked

Delete dir & files w/ strange names?

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have directories and files on my FTP site that I can't delete. Some are using reserved names AUX, LPT1 etc. other are long with spaces, brackets etc. I can't delete or change the properties of these files. Reboot doesn't help. The directories contain music and video files.

6 replies

by fons.maartens

If you can stop the FTP service you can delete those files (most likely they are in use or kept open by the ftp session)

by wally52101

More info: I have stopped the ftp service, rebooted server, taken ownership of files and directories, am logged in as administrator - still no luck.
Thanks!

by adenfla

Still doing some research on the specific exploit but there are hackers that can create these type of directories on FTP serves. Almost sounds like someone has gotten in to your system and using it as thier own private FTP server. Unless you put thefiles there. Sorry I can not be too much help, but I would look in the direction of maybe your system being comprimised.

by lo

Hi - Don't do servers that much so ...

What is it that prevents you from accessing the files? Privileges or File Name violations ("[", "]", etc. isn't a valid file name character)?

Might try doing wild card processing such as AU*. Also if you can access the directories (try inside double quotes, "AUX\..." if you haven't), you can probably delete or move the files to another location (different disk or some directory at \. See if file reappear (hacker/virus).

I am guessing you tried using Win Explorer to access and all that. Might try a DOS session (servers have DOS, no?

Last ditch, might try sutdown, boot with no FTP, access, ... Backup the system, delete/partition (assuming not part of system disk) and selective restore, excluding those directories/files you don't want.

This is a Win NT site, no? Wouldn't expect Admin to not be able to access EVERYTHING, but ...

Watching this one to see the out come.

This discussion is closed to new replies.