Help Center Live Community
April 17, 2014, 01:51:34 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Old Bug Solved - File Transfers  (Read 2328 times)
rsd
Not too much to say...
*
Offline Offline

Posts: 6


« on: January 17, 2010, 09:20:46 PM »

Sorry for my tone.

I have found in this forum tons of explanations about why file transfers is limited to 48k.

Reasons given so far is:
  • php configurations:
    • max post size
    • max upload size
  • apache configuration:
    • LimitRequestBody (which I never saw set in a server by default)
  • for your security
  • and even dumbness of the user
However every time the subject is brought on the real answer is dodge and ignored.
A simple, I^Bwe don't know would be better to get other people helping.

That said the real limitation is in mysql.

The field type BLOB has a limit of 64k - 1, which converted to base64 gives the magic number of 48k.

So, if you understand what you are doing, just change it from BLOB to LONGBLOB.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.166 seconds with 20 queries.

Google visited last this page April 10, 2014, 10:15:18 AM