Link to home
Start Free TrialLog in
Avatar of Zands
Zands

asked on

Folder not found error.

I am trying to delete folders off my ftp server.  I am running windows 2k and IIS 5.0.
I can see the folders in windows explorer but cannot delete them.  I am concerned that I have been hacked.
I ran antivirus but nothing out of the normal.  I have tried to delete the foilders but I get an error "Cannot delete file:  Cannot read from the source file or disk"  When I have tried to take ownership of the folder by right clicking and going to properties there is no security tab.  If I go to a higher folder( one that does have a security tab) and tell it to reset permissions on all child objects it gives me an error of "Cannot fine the file specified".  Anyone have any ideas?
ASKER CERTIFIED SOLUTION
Avatar of CrazyOne
CrazyOne
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nader alkahtani
The first reason suggest for you is the file name is invalid as a Cause 5 in microsoft KB :
"You Cannot Delete a File or a Folder :
Cause 1.....................
Cause 2......................
Cause 3......................
Cause 4.......................
Cause 5: The File Name Includes an Invalid Name in the Win32 Name Space
You may not be able to delete a file if the file name includes an invalid name (for example, the file name has a trailing space or a trailing period or the file name consists of a space only). To resolve this issue, use a tool that uses the appropriate internal syntax to delete the file. You can use the "\\?\" syntax with some tools to operate on these files, for example:
del "\\?\c:\path_to_file_that contains a trailing space.txt "

The cause of this issue is similar to Cause 4. However, if you use typical Win32 syntax to open a file that has trailing spaces or trailing periods in its name, the trailing spaces or periods are stripped before the actual file is opened. Therefore, if you have two files in the same folder named "AFile.txt" and "AFile.txt " (note the space after the file name), if you try to open the second file by using standard Win32 calls, you open the first file instead. Similarly, if you have a file whose name is just " " (a space character) and you try to open it by using standard Win32 calls, you open the file's parent folder instead. In this situation, if you try to change security settings on these files, you either may not be able to do so or you may unexpectedly change the settings on different files. If this behavior occurs, you may think that you have permission to a file that actually has a restrictive ACL. "
If didn't help you , go to this URL to view all reasons that prevent a file or folder from bieng deleted :
http://support.microsoft.com/?kbid=320081