Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Download File Size Problem?


emanresu

Recommended Posts

We use the download facilty on our site to provide patches and product updates. It works perfectly if the file size is below 2.5mb but anything over that creates a 404 when the visitor tries to download.

 

We've checked file names; removed unusual characeters in the name; reverted to 8*3 names but nothing helps

 

Our ISP says there is no restriction at their end on the size of file downloaded

 

Does anyone know if there's a download limit with PHP?

Citizen of US Minor Outlying Islands

Link to comment
Share on other sites

there is no download limit in php itself, have you modified any of the code for downloading? are the files in the proper spot for downloading and with proper permissions?

Link to comment
Share on other sites

There is a "memory_limit" setting in PHP that kicks in if the PHP script is reading in the entire file before downloading. I don't know if the osC code reads the file in and streams it out on downloads....however....

 

You might try admin->configuration->download->redirect->true and see if that helps.

 

Tom

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...