File.Exist returns false for non-html files uploaded from Desktop

G

Guest

Hi There,
I've got an asp.net application which enables users to upload file and the
file will be stored in the server.

I use File.Exist to check whether the file exist based on the filename (full
path with filename) before saving it into server. It works except for
non-html files uploaded from client's deskop which corresponds to
C:\Documents and Settings\shan\Desktop directory. I can only upload html
files from this folder, all other type of files are not recognized. Able to
upload all types of file from all other directory.

Is this problem related to File Permission? I've given full control to
aspnet account.

Pls help, if you know what's causing this problem. Thx alot!

rgds,shan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top