Page 1 of 1

Downloads Stop

PostPosted: December 7th, 2011, 4:49 pm
by cforant
I will start by saying other forum posts have similar issues here, but I think I may have a unique problem. None of those fixes seem to work.

Problem is, downloads larger than 175 MB stop at 175MB every time.

s2Member Free 111105
WP-Filebase 0.2.9.9
Wordpress 3.2.1
IIS 6
Windows 2008 Server
PHP 5

The file location is inside the s2member-files folder, but linked from wp-filebase. I have tried setting max_execution_time to 0 and other larger integers; not one difference was noted. I have tried using stream hack, nothing changed.

I am sure this is a scripting problem, just not sure which script is to blame. Any suggestions welcome.

Direct link downloads work fine. (e.g. http://domainname/linktofile.ext)

Thanks.

Craig

Re: Downloads Stop

PostPosted: December 7th, 2011, 5:01 pm
by Bruce C
What browsers have you tried to download this?

Re: Downloads Stop

PostPosted: December 7th, 2011, 5:42 pm
by cforant
Seems to be browser independent. IE 8, 9...Chrome 15.08.74 and Firefox 8.01.

Re: Downloads Stop

PostPosted: December 7th, 2011, 5:49 pm
by Bruce C
Can you try disabling WP-Filebase and try again?

Re: Downloads Stop

PostPosted: December 7th, 2011, 5:56 pm
by cforant
If I disable WP-Filebase, I cannot access the link. I have uploaded all my files using FTP to the s2member-files folder (taking advantage of built-in security of s2), synced with Filebase, set permissions in Filebase and displayed with Filebase linking structure. This may very well be a Filebase issue, but I need to rule out s2member as well since both plugins utilize file size limiting functions on downloads.

Re: Downloads Stop

PostPosted: December 7th, 2011, 6:01 pm
by Bruce C
OK. I don't have a problem with the download sizes on my setup, but I'll try uploading Filebase and see if that changes something

Re: Downloads Stop

PostPosted: December 7th, 2011, 6:04 pm
by cforant
Thanks Ace! I appreciate your help and quick responses.
Let me know if you want any screenshots. I will try to grab them tonight.

Re: Downloads Stop

PostPosted: December 7th, 2011, 6:25 pm
by Bruce C
It looks like WP-Filebase as a limit to how big the file can be. Are you uploading it through the flash uploader, or through FTP?

Re: Downloads Stop

PostPosted: December 7th, 2011, 6:31 pm
by Bruce C
Also it's causing an Apache error for me. I'm doing it on my localhost, and I keep getting a popup while it's installed.

Re: Downloads Stop

PostPosted: December 7th, 2011, 6:36 pm
by cforant
I am copying the files to my IIS server...then "synchronizing" in WP-Filebase. Seems to find all files, no errors on upload/sync. The only indication that there is any problem is the download failure with the larger files.

Re: Downloads Stop

PostPosted: December 7th, 2011, 6:37 pm
by Bruce C
Check your php.ini file to make sure your upload/download size isn't limited

Re: Downloads Stop

PostPosted: December 7th, 2011, 6:52 pm
by cforant
This was the only entry related to upload or download...was this what you are referring to?

Code: Select all
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M


; Maximum number of files that can be uploaded via a single request
max_file_uploads = 20

Re: Downloads Stop

PostPosted: December 7th, 2011, 6:57 pm
by Bruce C
I would change upload_max_filesize.

I had to do that to sync it when I installed it.

Re: Downloads Stop

PostPosted: December 7th, 2011, 7:17 pm
by cforant
Interesting result. I increased the variable to 2000M, restarted server, verified in PHP_Info. The file downloaded to 191MB and then failed again. However it did pass the 175MB mark for the first time. Now I am baffled.

Re: Downloads Stop

PostPosted: December 7th, 2011, 8:19 pm
by Bruce C
Can you count to 30 while you wait for the download? Just to check if it's timing out. It would still make sense since the processes would restart when the server did, making it faster.