Strange Permissions problem

S

Steven Cohn

I have a web program which allows the user to select a file on his local
machine, and then copy it to the Web server. This works fine (using
PostedFile.SaveAs). But when the same program tries to Delete the file,
using file.delete, the server says access denied? Any idea how to fix
this?

Thanks
 
H

Harry Simpson

Steven,

I'm having the same problem trying to save the file to the a directory
inside the root of the web app. I can PostedFile.SaveAs
to the root directory of the server all day long like C:\UploadedFiles\ but
if i try to upload from a client to C:\inetpub\wwwroot\wepapp\UploadedFiles
i get permission denied. I've openned up every security setting i know off.
What am i missing??

TIA
Harry
 

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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top