[Owncloud] Help needed: Big files over WebDAV
Evert Pot
evert at rooftopsolutions.nl
Thu Jan 10 19:56:35 UTC 2013
On Jan 10, 2013, at 8:51 PM, Klaas Freitag <freitag at owncloud.com> wrote:
> On 10.01.2013 20:26, Evert Pot wrote:
>> On Jan 10, 2013, at 8:23 PM, Frank Karlitschek <frank at owncloud.org> wrote:
>>>
>>> On 10.01.2013, at 20:15, Evert Pot <evert at rooftopsolutions.nl> wrote:
>>>
>>>> On Jan 10, 2013, at 7:42 PM, Daniel Molkentin <danimo at owncloud.com> wrote:
>>>>
>>>>> This also me ans 2 GB are a limit for owncloud on Windows, since the official binary packages are 32bit...
>>>>
>>>> In my opinion owncloud should emit a big fat warning when running on 32bit PHP and pre-emptively reject anything beyond 2 GB.
>>>>
>>>> Evert
>>>
>>> Agreed. If there is no way to fix it which would be better of course ;-)
>>
>> I personally don't really see a way as long as filesize() returns an int.
> Yes, but that would also count for 64 bit, right?
The difference is that on 64bit PHP PHP_INT_MAX is 9223372036854775807, which is 8192 petabytes.
>
> ownCloud uses a funny hack to get the actual file size of files, it calls the shell function stat, which is not really a cheap way but still...
>
> Actually large files work with ownCloud, I tested with 4.3 GB. Can be uploaded and is displayed correctly in WI.
That's surprising at least..
Evert
More information about the Owncloud
mailing list