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. Quote Link to comment 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. Quote Link to comment 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. 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.