Atozed Forums
Finished SendFile - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Finished SendFile (/thread-1830.html)



Finished SendFile - matija - 07-28-2020

Can you detect when WebApplication.SendFile is finished?


RE: Finished SendFile - Alexandre Machado - 08-02-2020

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?


RE: Finished SendFile - matija - 08-03-2020

(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.

What are you trying to achieve?

If i download my PDF finished, i want delete this file from server temp.