2016-10-28, 04:30:20
(2016-10-28, 03:18:27)Thanks, but I don\t need to know about successful downloads, just attempts. Bigin Wrote: You can never know for sure that the user has downloaded a file without any issues.
Maybe you will need to force the file download with PHP using header(), something like this:
Code:...
header("Content-Type: $type");
header("Content-Transfer-Encoding: Binary");
header("Content-Length:".filesize($location));
header("Content-Disposition: attachment; filename=\"$file\"");
readfile($location);
...
And what you can do is to implement an additional step that must be executed after the file is successfully downloaded then you can track that step.