Where can I write a temp file from ASP.NET?

Posted by ProfK on Stack Overflow See other posts from Stack Overflow or by ProfK
Published on 2010-04-18T08:49:51Z Indexed on 2010/04/18 8:53 UTC
Read the original article Hit count: 161

Filed under:

I have an 'access denied' problem on an ASP.NET web application, where the user uploads an Excel file and I try and write it to a folder. I don't have access to the host except FTP, so I can't set permissions. I thought that ASP.NET would be able to write to a folder that is under the web app root, but it isn't so.

Is there anywhere I can write the file to that doesn't require me to set permissions?

© Stack Overflow or respective owner

Related posts about ASP.NET