Dragonfly CMS v9 ⇒ Downloads Pro ⇒ resumable downloads ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum Index Modules & Blocks Downloads Pro

resumable downloads Reply to topic


With downloads, if they drop out you have to start again.
Is there a way to make downloads resumable?

I have some files up to 2gig on the server which can't be downloaded in 1 go due to server drop outs or what ever.

Thanks.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Litespeed/Apache2.4.23/MySQL5.5.42/PHP 5.6.25/DF 9.4.0.0


Without looking at the code I believe the leaching protection is what could make this harder. At the end a byte-range is what it needs, unless I'm missing something (like read and send the file trough a PHP script).

Marco

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Correct, v10 has code that should work to do this.
bitbucket.org/dragonfl...le.php-157

The change:
bitbucket.org/dragonfl...amp;at=v10

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial

Last edited by DJ Maze on Thu Dec 24, 2015 9:02 am; edited 1 time in total


Thanks guys and Merry Christmas

On a side note, this has fixed the issue i had with downloads taking so long they used to time out, now they don't.
Also getting less My SQL Gone Away now.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Litespeed/Apache2.4.23/MySQL5.5.42/PHP 5.6.25/DF 9.4.0.0

All times are UTC


Jump to: