PHP 2007 Lee Posted October 19, 2007 Share Posted October 19, 2007 I have a folder/directory with lots of photos. I want visitors to be able to download the entire directory (rather than every photo individually), so they can burn a CD or save the directory to their own computer. The problem is when I create a link to this directory, it goes to (displays) an indexing of all files in the directory, rather than offering the DIRECTORY itself for download. How do I get around this? Thank You! Link to comment https://forums.phpfreaks.com/topic/73987-solved-making-a-folder-directory-downloadable/ Share on other sites More sharing options...
derwert Posted October 21, 2007 Share Posted October 21, 2007 You need to archive the directory so others can download it as a single file. You can use zip, tar, rar. zip. zip would probably be more common among casual computer users. Link to comment https://forums.phpfreaks.com/topic/73987-solved-making-a-folder-directory-downloadable/#findComment-374667 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.