Click here to Skip to main content
15,878,748 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi,

I had try to write file into temp folder where accessing my page, I'm using System.IO.Path.GetTempPath() its giving server temp folder path, I need Client temp folder
Posted
Updated 29-Aug-11 19:55pm
v2
Comments
Prerak Patel 30-Aug-11 1:56am    
Not clear. Do you mean you want to access client's folder? No, you can't.

1 solution

ASP.NET code has no access to client file system (thank goodness). As to the server-side file system, you should not and you cannot access this directory; you generally cannot access anything beyond your site's root directory — this is important security feature.

—SA
 
Share this answer
 
Comments
Marikani P 30-Aug-11 2:20am    
then how to set the download file location

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