Generate a progress bar for dotnetzip for PHP

Aug 18, 2014 at 5:57 PM
Edited Aug 18, 2014 at 5:58 PM
Hi,

Is it possible to have a progress bar for encrypting a zip when using PHP? My working code of zipping the large files (>1GB-2GB) is below:
$zip = new COM("Ionic.Zip.ZipFile");
$zip->Name = $zippath;
$zip->Encryption = 3;
$zip->Password = $zippass;
$zip->AddDirectory($folderdir);
$zip->Save();
$zip->Dispose();
I'm assuming the Save() would have some extra parameters to handle the progress and pass back at integer that represented the progress but I'm not sure what.