![]() |
Download Complete status - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Download Complete status (/showthread.php?tid=23470) |
Download Complete status - El Forum - 10-12-2009 [eluser]Sarwar CSE[/eluser] I gave a download link for a file to user. How to track the download status wheather the user completely download the file or not specifically for that user. Please help me if anybody knows. Download Complete status - El Forum - 10-12-2009 [eluser]jdfwarrior[/eluser] Don't know that one is possible... Download Complete status - El Forum - 10-12-2009 [eluser]BrianDHall[/eluser] That one is a bit of a toughy. If you have a javascript, flash, or other 3rd party download manager you can do this much easier. That is one of the big reasons they exist. Apache FtpServer has this functionality: http://cwiki.apache.org/FTPSERVER/ftplet.html Of course, it is Java that handles the notification of completion. So it is possible, you might even be able to rig a custom FTP handler in PHP/CI - but this is "non-trivial", so if you don't really, really want it, I'd keep looking for a simple solution that doesn't require so much to implement it. Download Complete status - El Forum - 10-12-2009 [eluser]eoinmcg[/eluser] If you're using PHP 5.2.0 or higher you could install the APC (alternative php cache), make a small adjustment to your php.ini and then track/record progress with a sprinking of javascript. More info here: http://www.google.com/#hl=en&source=hp&q=php+apc+upload+progress+bar&aq=1&aqi=g3&oq=php+apc+upload+&fp=7d15299a959dbb33 |