joexemo Posted June 25, 2007 Share Posted June 25, 2007 Anyone offer some help or an example way to download entire directories. I have all my files being listed in a view(browse) script, and i want it so instead of having to download like every single file, u can just click an option that's like 'download whole album', and it reads every file in the directory and begins downloading them all... any suggestions where to get started with the php :/. never done anything regarding downloads. Quote Link to comment Share on other sites More sharing options...
trq Posted June 25, 2007 Share Posted June 25, 2007 The only way you could really do this would be to zip the entire directory and go from there. Quote Link to comment Share on other sites More sharing options...
joexemo Posted June 25, 2007 Author Share Posted June 25, 2007 so make a script that like temporarily creates a zip file of the directory u ask for, and u donwload it? Quote Link to comment Share on other sites More sharing options...
trq Posted June 25, 2007 Share Posted June 25, 2007 Yep. Quote Link to comment Share on other sites More sharing options...
joexemo Posted June 25, 2007 Author Share Posted June 25, 2007 hmm alright. ill go read up on some zip file manipulation tutorials. Last i remember though zips can't be deleted or unlinked...well i guess i could recursively remove it...? 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.