I'm coding a download counter and I'd like to know if it is possible to execute code after the buffer (here, a file sent with readfile) have been fully sent by the server and received by the client. Please note I cannot use any clientside language, as I am transferring the file directly (not using XHR or/and FileSystem javascript API).
Is it doable in any way?
Thanks!