Help - Search - Members - Calendar
Full Version: zip on server
MSFN Forums > Coding, Scripting and Servers > Web Development (HTML, Java, PHP, ASP, XML, etc.)

   
Google Internet Forums Unattended CD/DVD Guide
Grake
Is there a way to run a script to zip a folder on server? I can do it through cpanel but it only allows 20mb. Mine is a 100mb folder.
ripken204
maybe if you have like root access to the server, which i doubt that you do.
or maybe if you can find some type of server-side script like php that can do it.
Zxian
If you have shell access you can use the tar command to create an archive.
CODE
tar -zcf outfile.tar.gz <sourcedir>

This is of course assuming that it's a linux server...
kittypaws
i use PclZip to modify the contents of a zip file at the time the use wants the file.. to add specific content to the zip file


PHPConcept's pclZip
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.