Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7418675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:55:41+00:00 2026-05-29T07:55:41+00:00

I am trying to determine where Asp.Net and/or IIS store file uploads when you

  • 0

I am trying to determine where Asp.Net and/or IIS store file uploads when you upload a file BUT before you call the SaveAs() method.

I looked on MSDN and I kind of get the idea that it’s in memory and not put on the file system, but I can’t find it anywhere it says this explicitely.

I am trying to verify to IT that uploaded files (whose streams are passed on to FTP without ever calling SaveAs()) will not be automatically replicated by our server replication system.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T07:55:43+00:00Added an answer on May 29, 2026 at 7:55 am

    The following is from How to change the default TempFile upload location for the ASP.NET 2.0 FileUpload control?

    Dumping out the HttpRawUploadedContent from a memory dump, I can see that the file is buffered in the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\fileupload20\d909613c\d78e07ba\uploads files folder and is called f-zqaz-r.post 
    
    
    0:008> !do 017c3fbc 
    Name: System.Web.HttpRawUploadedContent+TempFile
    MethodTable: 68a870e0
    EEClass: 68a87070
    Size: 20(0x14) bytes
    GC Generation: 0
     (C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll)
    Fields:
          MT    Field   Offset                 Type VT     Attr    Value Name
    7a754a14  4000fb0        4 ...empFileCollection  0 instance 017c4944 _tempFiles
    790fa3e0  4000fb1        8        System.String  0 instance 017c54e4 _filename
    790fe3c8  4000fb2        c     System.IO.Stream  0 instance 017c55f8 _filestream
    
    
    0:008> !do 017c54e4 
    Name: System.String
    MethodTable: 790fa3e0
    EEClass: 790fa340
    Size: 262(0x106) bytes
    GC Generation: 0
     (C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll)
    String: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\fileupload20\d909613c\d78e07ba\uploads\f-zqaz-r.post
    
    
    If you want to change the default location, The tempDirectory attribute of the <compilation> element allows you to specify the directory to use for temporary file storage during compilation. The default is an empty string (""). In the case of an empty string, and if the current process has the required access permissions, the files are stored in the %FrameworkInstallLocation%\ Temporary ASP.NET Files directory.
    

    compilation Element (ASP.NET Settings Schema) shows the compilation element where the tempDirectoryattribute holds the location for the temp files while a upload is in progress.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write a log file from an ASP.NET application under IIS7, but
I am trying to determine whether a company has websites built with ASP.NET MVC
I am trying to read an XSLT file from disk in my ASP.Net MVC
I'm trying to determine how much time is left in a given ASP.NET session
I am trying to determine why an asp.net grid view is so horribly slow.
Using ASP.Net, I am trying to determine the actual URL requested by the user.
I am trying to determine where to place a script file in a location
I am using Websupergoo's ABCpdf for ASP.NET and I am trying to generate PDF's
I have a asp.net MVC app and I'm trying to get the jqgrid 3.5
I'm trying to run an Asp.net MVC 1 app on a host that doesn't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.