Page 1 of 1

Configuring Downloads

PostPosted: April 17th, 2011, 10:49 pm
by JohnnySM
I'm having difficulty setting up my zips for download. I watched and followed along with the video tutorial but when I finished, I get the 404 error message. I've read as many topics as I could find on the subject but I am still unable to configure the zips properly. I added the code that was suggested on this topic - http://www.primothemes.com/forums/viewtopic.php?f=4&t=2997 - however it didn't fix the problem.

I've tried changing the path on the special code, as suggested in the forums, to include different paths but that hasn't worked either.

I'm using s2member with wordpress and my hosting company is hostgator. The full path to my zips is /public_html/wp-content/plugins/s2member-files. Any help would be great.

Re: Configuring Downloads

PostPosted: April 18th, 2011, 5:42 pm
by JohnnySM
Figured out the above problem. The links now work but most of the zips are failing on downloading. It starts to save then after a second says the zip is finished even though its a fraction of the size. Tried on both Firefox and Chrome and get the same results. Can anyone help?

Re: Configuring Downloads

PostPosted: April 19th, 2011, 2:25 am
by Cristián Lávaque
Hi Johnny. :)

Can you please send Jason (the Lead Developer) an FTP login and Dashboard access so he can see this on your server since it's HostGator.

Please send it through our online contact form http://www.s2member.com/contact/

Thanks!

Re: Configuring Downloads

PostPosted: April 19th, 2011, 2:38 pm
by JohnnySM
Thanks for the response. I think I have it figured out. For other people who have the problem with the 404, the answer most likely is the code from the post I linked to. Before I found the code I had changed the name of the files on the server - this seemed to cause a conflict even though I stayed consistent with the naming on the security link. Once I changed the file name back (after adding the additional code from the link) it would link to the file. Also worth mentioning is if you copy and paste the file name to the security link, it adds a space between the file name and the = sign. This also will cause the 404 error.

For the second problem of the zips starting to download then being listed as download complete even though it only downloaded a few bits, for me at least, it seems to be an issue with the file size. I had uploaded a few test zips and could only download a few, the rest would download as incomplete. The files under 30 MB downloaded fine but the files larger than that wouldn't download properly. Making the files smaller seems to fix that problem.

Re: Configuring Downloads

PostPosted: April 20th, 2011, 11:30 pm
by Jason Caldwell
Interesting. Thanks for reporting back.
s2Member should be able to handle VERY large files through it's ability to perform chunked transfer encoding. We've run several tests on this across a wide array of hosting platforms, so if you're having trouble with large files, please reply back and we'll have a closer look for you. I'd like to see this happening on your server so we can investigate the issue as it exists in your environment.