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/viewmy 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 :
/usr/local/apache/htdocs/webftp_simple/
Thanks.