07-28-2020, 12:12 PM
Can you detect when WebApplication.SendFile is finished?
Finished SendFile
|
07-28-2020, 12:12 PM
Can you detect when WebApplication.SendFile is finished?
08-02-2020, 09:25 AM
Not really.... SendFile is an asynchronous method, meaning that it returns before being actually executed. The whole process which deals with the file stream (encoding it and sending it to the browser) happens at a later stage.
What are you trying to achieve?
08-03-2020, 05:04 AM
(08-02-2020, 09:25 AM)Alexandre Machado Wrote: Not really.... SendFile is an asynchronous method, meaning that it returns before being actually executed. The whole process which deals with the file stream (encoding it and sending it to the browser) happens at a later stage. If i download my PDF finished, i want delete this file from server temp. |
« Next Oldest | Next Newest »
|