Hi - and thanks for this great module!
I am experiencing a problem with downloading files over 300kb only on IE(chrome, firefox are OK)? IE downloads the file but it is never the whole file - it is a different amount every time.
I have ruby files (.rb and .rbs) that I need to be downloaded.

I'm not sure if this is a bug or just IE?
Thank you for reviewing this.

Comments

arski’s picture

Status: Active » Postponed (maintainer needs more info)

Hey there,

I seriously doubt this module has the power to cause such a bug ;) But let us see.. the first thing I would try to do is make your FileField or whatever you're using display the actual URL to the file, and then do a download the old-fashioned way, by Right Click -> Save as.. see if the problem persists.

Also, when doing that, could you post both links you are using - if they're public then that's even better, otherwise something like sites/default/files/mybla.rb will do.

Cheers

rosemeria’s picture

hello arski,
Here is the link to my site http://www.valiarchitects.com/sketchup_scripts
The file is public - sites/default/files/programs/suscripts/InstantRoof.rbs
Instant Roof is 449kb and my other files(road and site grader) are smaller and download OK on IE.
Thanks for your help on this one - I tried the "download-file" module too, but I find your module is working much better.
I have 5000 people from 93 countries trying to download this file on IE - and I cannot seem to solve the problem.

arski’s picture

hey,

well this is just weird.. I mean 300kb is like nothing anyway.. did you try doing right click -> save as in IE and did that result in the same issue? what is IE saying anyway, that download is complete or that it's broken or what? what version of IE are you testing it on (not sure how this will help though).. are you sure somebody else besides you is having this problem in IE?

Sorry if it's lots of questions, but it's a very weird issue and I really don't know where to start.

PS. About the right click, could you try that on both the current URL of the file, and also the direct download url like http://www.valiarchitects.com/sites/default/files/programs/suscripts/Ins...

Cheers

rosemeria’s picture

Weird is right!!
I did try the right click (before I sent last comment) in IE and it gave me different download file sizes too. The only way I received the full file was by typing the URL in the IE browser.
NOW... as of this minute IE is working correctly every time for me and my customers. An hour ago nobody could get the complete download from IE (I did not change anything on the site). I did contact Rackspace my server - I am wondering if they corrected or patched something to get it working.

Your module is working great, IE is working for now - I can only hope IE continues to behave its self!
Sorry to have bothered you - I guess you can delete this issue.
But, I will confirm that this module file force has better functionality than the download-file module. Keep up the great work.

arski’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Hehe, glad to hear it works again!

If *fingers crossed* for whatever reason it starts doing weird stuff again, make sure to try the right-click test on the link I pasted first (not the http://www.valiarchitects.com/system/files/programs/suscripts/InstantRoo... not even without the "download=1"). The reason is that the "sites/default/files" is a direct link to the file on the server and has absolutely no relation to Drupal, while the "system/files" link can be manipulated by Drupal hooks, file_force among possible others. So if the former link doesn't work, it's 100% your host and not Drupal :)

Anyway, thanks for loving this module ;)