DownloadDir

PHP skripty
User avatar
Ashus
Administrátor
Posts: 417
Joined: 07. 07. 2007 10:51
Location: Ostrava - Polanka nad Odrou
Contact:

DownloadDir

Postby Ashus » 27. 04. 2013 16:18

If you had a listing of lots of files and directories on your webserver (Apache using indexes), you might have wanted to be able to download them all at once.
This script is made for just this. It compresses the directory on-the-fly using ZIP and sends them to the client (maximum memory usage should be about 25 MB even for large files).
Files larger than 20MB are just stored into the archive, smaller files are compressed.

It utilizes ZipStream and requires PHP 5.
DownloadDir.phpx
(20.07 KiB) Downloaded 22 times
Image
Coffee phreak!

Who is online

Users browsing this forum: No registered users and 1 guest

cron