Folder somehow converted to a file !?

I have a folder on my Windows Server 2003 where I put files uploaded by users. At one point my web application started to complain that the path no longer existed. When I checked on the server, I could see that there was no longer a folder with that name, but instead there was a 0 KB file with the same name.

It is very unlikely that my application did anything like this - not because it's perfect, but because it's being used on the other locations on the same server and has been running for a year and this hasn't happened before.

How can a folder possibly be magically "converted" to a file and how do I prevent it from happening again? Any chance of recovering the files that are/were in the folder?
gyxiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

santhoshuCommented:
Two possiblities:

1.  Some Malware/Virus has done this.
2.  User error.  A user has deleted the folder unknowingly and instead created a file (without noticing that it was a folder that he deleted) with the same name.

Both ways, I do not see any ways to get those files.  But you can give it a try with the undelete softwares.  Type "Undelete" in google and it will get thru' many softwares, which will undelete the files and folders from your system (this will work if point# 2 is true) :)

Good Luck.
0
gyxiAuthor Commented:
I am pretty sure that it's not possibility 2, because I'm the only one with access to the server and I haven't accessed the server for several months.

So that leaves virus as the only possibility :(

Are you sure that those are the only two possibilities?

Anyone else have a suggestion of a third possibility?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
santhoshuCommented:
That is what I can think of now...  Anyways, try the undelete utilties to test your luck.

0
gyxiAuthor Commented:
Didn't work. I ended up getting a replacement server ...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
OS Security

From novice to tech pro — start learning today.