Click here to Skip to main content
14,699,563 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when upload a file to server then it shows like this

Upload status: The file could not be uploaded. The following error occured: Access to the path is denied

tell me solution
i am using plesk pannel


and i need to store file in virtual directory


how to give a autentication
Posted
Updated 1-Jul-11 9:38am
v2

You can't put the file outside of the virtual folder that contains the web site. That's a security violation.
   
v2
Comments
fjdiewornncalwe 5-Jul-11 23:23pm
   
True, but with a caveat. If the app pool user has been granted access to the destination folder, it will let it happen. It is however a really bad practice.
give the write permission to folder on hosting server
   
Comments
fjdiewornncalwe 5-Jul-11 23:23pm
   
Yes, but this is a really bad practice.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900