This is the scenario.
There is a file on a remote file server (say I have a file hosted on DropBox)
I want to offer that file as a download on my web application (c# asp.net 4.0)
I want to hide the location 100% of the original file (I want it to appear to come from my sever).
I do not want to write this file to memory or to disk on my server.
I had assumed that I would want to use a stream to stream copy. example
Stream inputStream = response.GetResponseStream();
inputStream.CopyTo(Response.OutputStream, 4096);
inputStream.Flush();
Response.Flush();
Response.End();
This however copies the entire stream into memory before writing it out to the client browser. Any ideas would be awesome.
I need my server to basically just act as a proxy and shield the original file location
Thanks for any help.