Page 1 of 1

Okay to Create Subdirectories in s2member-files folder?

PostPosted: October 29th, 2010, 11:20 pm
by chelle
My site will be offering A LOT of downloads that need to be protected, and already my folder for the s2member protected files is pretty cluttered. I read I can create directories for different levels, but I was wondering if it would still work or cause any unforseen problems later down the road if I should create additional subdirectories to help organize the files by date - much like Wordpress does with its Uploads folders.

My file path would look something like this:

s2member-files/2010/10/myzip.com

I know I would need to make sure the file path is correct in the links - but wanted to make sure they would still be protected so only logged in users would see them, as well as make sure there aren't any possible negative consequences in doing it this way later down the road. Thanks!

Re: Okay to Create Subdirectories in s2member-files folder?

PostPosted: October 30th, 2010, 4:20 am
by Jason Caldwell
Hi Chelle. Thanks for the great question.

Yes, it's absolutely OK to do this. In fact, I recommend it.
Anything you can do to keep things better organized is a great idea.

So you might have something like this:
/s2member-files/music/song1.mp3
/s2member-files/videos/video1.mp4

Just include the sub-directory in your link:
?s2member_file_download=music/song1.mp3
?s2member_file_download=videos/video1.mp4

Re: Okay to Create Subdirectories in s2member-files folder?

PostPosted: October 31st, 2010, 9:29 pm
by chelle
Awesome :)