cgm225 Posted March 2, 2008 Share Posted March 2, 2008 If I have a directory full of files, is there a way to have php temporarily compress them into a ZIP file for a user to download? If so, can that handle a large volume of files (for example, like 500 jpegs totaling 500MB's) such that the user will not have to wait a long time for the download to initiate? Thank you all in advance? Quote Link to comment Share on other sites More sharing options...
corbin Posted March 2, 2008 Share Posted March 2, 2008 Hrmmm..... I wrote a script that temporarily compressed a single text file (around 30MB) and it could do it fairly quickly.... As for JPGs, I have no idea how long that would take, especially if it totals 500MB.... I would assume it will take quite a bit of memory to do that too. http://us2.php.net/zip The instructions are fairly straight forward, but I can try to help if needed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.