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. Link to comment https://forums.phpfreaks.com/topic/57163-whole-directory-downloads/ 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. Link to comment https://forums.phpfreaks.com/topic/57163-whole-directory-downloads/#findComment-282456 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? Link to comment https://forums.phpfreaks.com/topic/57163-whole-directory-downloads/#findComment-282466 Share on other sites More sharing options...
trq Posted June 25, 2007 Share Posted June 25, 2007 Yep. Link to comment https://forums.phpfreaks.com/topic/57163-whole-directory-downloads/#findComment-282467 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...? Link to comment https://forums.phpfreaks.com/topic/57163-whole-directory-downloads/#findComment-282471 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.