BelowZero Posted March 31, 2012 Share Posted March 31, 2012 How does one go about making files and folders available for download? I have written a program that I need others to download. The program contains many php files and several different folders (one for images, one for javascript, etc.). Is there a way to create a zip file that maintains the folders' directory structure? Or another way to approach this? My goal is, once they click the download button they won't have to recreate any folders before they upload the program to their site. Sounds elementary to me, but I've googled all day and haven't found an answer... Thanks. Link to comment https://forums.phpfreaks.com/topic/260044-downloading-files/ Share on other sites More sharing options...
trq Posted March 31, 2012 Share Posted March 31, 2012 zipping a directory will not effect its structure. I'm not sure what the issue is. Link to comment https://forums.phpfreaks.com/topic/260044-downloading-files/#findComment-1332889 Share on other sites More sharing options...
BelowZero Posted March 31, 2012 Author Share Posted March 31, 2012 Oh...I was under the impression that I could create a zip file and add files to it, but not folders containing more files. Guess that was wrong. Thanks. Link to comment https://forums.phpfreaks.com/topic/260044-downloading-files/#findComment-1332891 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.