Author Topic: webftp simple with ability to compress files and folders  (Read 10107 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
webftp simple with ability to compress files and folders
« on: June 13, 2017, 06:38:35 AM »
Hi, I tried editing webftp simple to add the zip and unzip feature to it.
Currently i added compress feature, but i have problems in making it work correctly, actually it works but it is not able to compress some files.
I link the index.php file here for anyone who have time to take a look at it and fix that problem if possible.
Please test it with atleast 3-depth directories and files:

https://drive.google.com/file/d/0B6sh3kVI_FADUWpXRE1UQXRvdk0/view

my function is named compressFile. and the problem is in this function: download_dir_to_tmp .
When download_dir_to_tmp tries to download a big directory it fails downloading some of its files.

To test the file it must being inserted at :
Code: [Select]
/usr/local/apache/htdocs/webftp_simple/
Thanks.
« Last Edit: June 13, 2017, 06:47:28 AM by wpmagic70 »