Why not Try EFS PhP-ZiP MultiVolume Script I zipped and transferred hundreds of gigs and millions of files ssh is needed to effectively create archives. php. /*. *. * This script will backup your web site by remotely archiving all files on the root FTP directory. * It will work even if your web server is memory limited. php. /*. * PHP Recursive Backup-Script to ZIP-File. * (c) Marvin Menzerath. (raymondsaumure.com). */. // Make sure the script can handle large folders/files.
PHP script to remotely zip/unzip archives of your FTP - raymondsaumure.com Recently I had to write a script to create a zip file containing different files and folders. PHP has a ZipArchive class which can be used easily to. PHP's ZIP class provides all the functionality you need! @ahmed: you'd have to modify the script so it checks for each file if it's a folder with.
A short search on Google has lead me to the Create ZIP File PHP class from Rochak Chauhan. I tested two other scripts before and must say that this script. Apparently, given the limitations of the account setup the best way was to write a php script by executing which i would zip the given folder contents, so that then i . If raymondsaumure.com already exists before we run this script, the file will remain unchanged. Note that using addFile() will change the order of the files within the zip, in fact.