JJohnsenDK Posted November 23, 2007 Share Posted November 23, 2007 Hey Is it possible to let a user download a folder with several files? For example a folder with many jpg files? I mean when the user presses a download button or link he will automaticly be downloading all files from the folder. For example this folder: e:\images\football\match\ and here is maybe 50 images. Link to comment https://forums.phpfreaks.com/topic/78587-download-a-whole-folder-of-files/ Share on other sites More sharing options...
GingerRobot Posted November 23, 2007 Share Posted November 23, 2007 Never done it, but i expect you could zip the contents of the file and let the user download that. Link to comment https://forums.phpfreaks.com/topic/78587-download-a-whole-folder-of-files/#findComment-397634 Share on other sites More sharing options...
cooldude832 Posted November 23, 2007 Share Posted November 23, 2007 zip makes sense, otherwise you have to do each one individually look into the glob function Link to comment https://forums.phpfreaks.com/topic/78587-download-a-whole-folder-of-files/#findComment-397647 Share on other sites More sharing options...
JJohnsenDK Posted November 23, 2007 Author Share Posted November 23, 2007 allright.. i hoped that i could it without the zipping :'( ... but thanks for your answers Link to comment https://forums.phpfreaks.com/topic/78587-download-a-whole-folder-of-files/#findComment-397649 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.