Description
When I call the Context.File() function, will it read the file into memory at once and send it to the client? If my file is very large, in order to avoid taking up a lot of memory, how to get it to read and send it in batches?
Comment From: alperb
You may send the file in many chunked
responses. An example can be found here on how you can do it. If you wonder how you can read a file without loading them all to the memory, you can refer here.
If I misunderstood your questions, please elaborate more.