The default maximum file size for uploads is 512MB. You can increase this limit up to what your filesystem and operating system allows. There are certain hard limits that cannot be exceeded:
< 2GB on 32Bit OS-architecture
< 2GB with IE6 - IE8
< 4GB with IE9 - IE11
64-bit filesystems have much higher limits; consult the documentation for your filesystem.
Another aspect is that it can be helpful to additionally set a new chunk size to nextcloud when operating with very large files.
And third the browser itself also can be a limiter.
e.g. upload with M$ Edge fails → but with Firefox / Chrome works.
So feel free to check this as well when having the correct php options set.
If you are using the Web UI or any of the official clients, chunking will be used, so you can upload any file size that your server is capable of (at least if you’re logged in).
But it did not work
If you share more info someone might be able to help, but that’s too vague.
@kotelnikus
I have already experienced Nextcloud instances that behaved differently with regard to uploading with a user ID and uploading via a public share. Maybe you can try uploading via a public share if you haven’t tried this yet.
20 GB is already pretty big. Perhaps you should use other transfer technologies if this is possible for you. For example, storage based on sftp or rsync is probably more suitable. If yes find “sftp hosting”. Example is Hetzner Storage Box (e.g. sftp) vs. Hetzner Storage Share (Nextcloud).
Public uploads don’t currently use chunking unfortunately. They do rely on all the web server/PHP timeout and related adjusted noted in the Big Files section of the Admin Manual.
That’s right. I also don’t understand why the behaviour is completely different. Wouldn’t it be much easier to simply standardise it? Or is chunking only possible with corresponding user crendentials?
I don’t recall all the specifics. I do believe one hurdle was related to anonymous users lacking home directories to track the file chunks in, which makes it very different than logged in users.
The Vue migration (i.e. in v28) being basically completed should help. This stuff was all re-visited as a result of that (since the uploader had to be rebuilt).
You need to share more details about your environment. Also, what exactly happens? You keep saying basically “it doesn’t work”. But what is the behavior precisely?
Also, what appears in your Nextcloud log during these upload transactions?
Also, checking your web browser inspector during uploads will be extremely helpful. Particularly the Console tab and the Network tab to monitor each transaction.
There are numerous variables when it comes to transferring files (temp folders, home directories, web server config parameters, chunking config, etc.)
I do not have access to either server nor PHP settings …
Uploading if not logged in
I can see in the console that the payload is too large - that is in Chrome.
In firefox there is nothing in console but in Network tab I can see the Response to PUT http request was “413 Request Entity Too Large”.
So it would help if not logged in use can use chunking too.
uploading when logged in. The issue was that I had on my Windows 11 turned on Network connectivity in Standby and it takes hours to upload huge file on my network. So I left comp and it got disconnected. I was able to upload 7GB file. I guess I would be able to upload even larger.