ASP.NET - Does streaming file to the client occupy server memory?

antatteNees

New Member
I have a requirement to make the files in a file server available for download through an application running on a web server. Users would be clicking on the links available on the application page and a save as dialog would appear. This kind of a use case is pretty common and I might be talking about a basic thing, but I would appreciate if someone can confirm if my following assumptions are correct. 1) With files on file server, virtually mapped via a virtual directory in the web server to be accessible to the application (as links), it is possible to stream it directly to the client using content-disposition (with code similar to the answer here), meaning without involving any code to process or chunk the file for the purpose of streaming it.2) Since the file is directly streamed from the file server, the web server is in NO WAY impacted in terms of memory or disk usage (CPU would be used of course). Thanks
 
Back
Top