Page 1 of 1

Protected Directories

PostPosted: September 1st, 2010, 5:02 pm
by quirkette
I am using S2Member on Wordpress.

My secure download files are in: ./secreatebookdownloads/members/wp-content/plugins/s2member-files however I have had notification from my hosting service that

"The amount of files/folders in this directory is causing an issue with backing up your account, as well as maintenance operations on the shared server. Each directory should have a total maximum of 1,024 files and folders. Any more than this can cause file system latency and slowness when accessing FTP and hosting from the Web."

My question is can I create a new secure directory under plugins for my secure files so I can spread the load?

for example: ./secreatebookdownloads/members/wp-content/plugins/s2member-files2

If so how do I set this up?

Re: Protected Directories

PostPosted: September 2nd, 2010, 2:44 pm
by Jason Caldwell
Hi there. Thanks for your inquiry.

Yes, but you'll need to structure them all inside of the /s2member-files/ directory.

So you can do this:
/plugins/s2member-files/sub-folder1
/plugins/s2member-files/sub-folder2
/plugins/s2member-files/sub-folder3

Your Download Links would look like this:
Code: Select all
http://example.com/?s2member_file_download=sub-folder1/file.zip
http://example.com/?s2member_file_download=sub-folder2/file.zip
http://example.com/?s2member_file_download=sub-folder3/file.zip

Re: Protected Directories

PostPosted: September 5th, 2010, 8:48 pm
by quirkette
That is fantastic - thank you so much for your response.

Re: Protected Directories

PostPosted: September 7th, 2010, 9:10 pm
by Jason Caldwell
You are VERY welcome.
~ My pleasure.