Hi Jakub,

I would not try to solve this on a PHP level. Apart from the fact that it's 
fairly unreliable to assume a sane maximum (as you noticed, sorry, I am not a 
PHP deployment specialist), it also means that if your users upload a big file 
and have to move halfway through or their connection gets cut by other means, 
they would have to start uploading from scratch.

That is why we implemented file chunking in both the Desktop clients (starting 
with 1.3.0) and the iOS/Android apps, i.e. we upload files in 10 MB chunks and 
the server puts them back together. Unfortunately, there is no such patch for 
the Web client yet, although it would be possible to implement chunking with 
the introduction of the HTML5 File API (http://caniuse.com/#feat=fileapi) and 
blobs (http://caniuse.com/#feat=blobbuilder). This would at least work for all 
browsers that are not IE<=9.

You can try the desktop/mobile clients. They should not care as long as the 
limit is > 10 MB. As for the web client chunking feature, I suggest you either 
try to implement that yourself, or you could contact ownCloud Inc if you are 
considering to buying a license.

Cheers,
  Daniel

Am 11.07.2013 um 09:57 schrieb Jakub Moscicki:

> Hello,
> 
> I have some users testing owncloud for uploading very large files (> 4GB). 
> They have a valid corporate use-case for this (sharing an binary image file 
> of large simulation system with an external support company).
> 
> I have bumped up the php and owncloud config parameters to increase the 
> maximum size of uploaded files but I am currently stuck at ~2GB limit.
> I am on SLC6, x86_64 kernel and my php and apache rpms have .x86_64 suffixes 
> (presumably/hopefully compiled with 64bit support).
> 
> Following the doc at  http://owncloud.org/support/big-files/ my settings in 
> /etc/php.ini have been experimentally defined as:
> 
> post_max_message =  2^31 -1   [ 2247483647 bytes]
> upload_max_filesize = post_max_message - 100MB
> 
> If I go above 2^31 in these settings then it appears that I wrap around a 
> signed 32 bit integer (?) and the limit is effectively smaller.
> 
> Anyone has experience or suggestion how to go up to 4GB or even further?
> 
> There is also this app, which I would be willing to help reviewing once I 
> figure out about the basic configuration and owncloud strategy for large file 
> support:
> 
> http://apps.owncloud.com/content/show.php/Large+File+Upload
> 
> Is this app the "official" way to go for very large files?
> 
> kuba
> 
> --
> _______________________________________________
> Owncloud mailing list
> [email protected]
> https://mail.kde.org/mailman/listinfo/owncloud

--
www.owncloud.com - Your Data, Your Cloud, Your Way!

ownCloud GmbH, GF: Markus Rex, Holger Dyroff
Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)

_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to