Unsymetric WebDav problem with files >1GB

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Some useful links to gather information about your Nextcloud Talk installation:
Information about Signaling server: /index.php/index.php/settings/admin/talk#signaling_server
Information about TURN server: /index.php/settings/admin/talk#turn_server
Information about STUN server: /index.php/settings/admin/talk#stun_server

Nextcloud version 32.0.0

Custom Signaling server configured: no
Custom TURN server configured: no
Custom STUN server configured: no

Operating system (eg, Windows/Ubuntu/…): WSL (Debian 13.1) on Windows Server 2022
Browser name and version (eg, Chrome v101): Edge on Windows 11

I want to transfer Date from Sharepoint server to Nextcloud server using WebDav.

This ist the summary of trys:

files >1G from Filesystem to Nextcloud via browser – ok.

files > 1G from Filesystem to Nextcloud via WebDav – fails.

files > 1G from Filesystem to Sharepoint via Webdav – ok.

files > 1G from Nextcloud to Sharepoint via WebDav – ok.

files > 1G from Sharepoint to Nextcloud via WebDav – fails.

It seems, there ist a problem with nextcloud receiving large files vi WebDav.

The registry entry

HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameter\FileSizeLimitInBytes

has the value „4294967295“.

The file

/var/www/Nexctloud/.user.ini

contains the values

php_value upload_max_filesize 16G

php_value post_max_size 16G

php_value max_input_time 3600

php_value max_execution_time 3600

The files

/etc/php/8.4/apache2/php.ini

/etc/php/8.4/cli/php.ini

/etc/php/8.4/fpm/php.ini

all contains the same values:

post_max_size = 16G

upload_max_filesize = 16G

max_execution_time = 3600

max_input_time = 3600

Has any one an idea to fix the problem?

sharepoint is a windows server? how do you use webdav, other webdav clients work?

Anything in the logs (Nextcloud/webserver)

Sharepoint 2016 runs on Wndows Server 2016.

As is said,

Files > 1GB can be copied from Filesystem to Sharepoint via Webdav.

Files > 1GB can be copied from Nextcloud to Sharepoint via WebDav.

Files > 1GB can not be copied from Filesystem to Nextcloud via WebDav.

Files > 1GB can not be copied from Sharepoint to Nextcloud via WebDav.

Files > 1GB can be uploaded to Nextcloud from Filesystem.

net use https://nextcloud_url

net use https://sharepoint_url

Kopieren mit robocopy.

The Web UI (and all official Nextcloud clients) use chunking. Your other scenarios are likely not using chunking. And, given the 1GiB ceiling my wild guess is Apache’s (default but adjustable) request body limit. See the Admin Manual section covering big file uploads.

Beyond that… well, we need the details from the standard support template to help you out. I’m not sure why you filled out the Talk template.

And if you use a different webdav software, e.g. winscp, this would work?

if it is not via webdav, do you mean it is the web-interface, the NC client?

If you write it like this with files smaller than 1 GB it works?

And have you any server logs? In case of a timeout, it would be important to know what times out (php, webserver, proxy, database, …) or runs into a limit.

Hallo tflidd,

“Files > 1GB can not be copied from Filesystem to Nextcloud via WebDav.”

In Detail:

lsb is a non real user to hold and share all Sharepoint-Data.

C:\Temp\BigFile has File_1-0.GB, File_1-2.GB, File_1-4.GB

net use n: https://sbn-03026-01/remote.php/dav/files/lsb

robocopy /s /e /r:1 /w:1 /tee /np /log:rc-bigfile-n.log c:\temp\Bigfile n:BigFile

this did not work.

Logfile:

Fehler

no app in context

BadRequest

Expected filesize of 1459375159 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 0 bytes.

Could either be a network problem on the sending side or a problem writing to the storage on the server side.

18.11.2025, 11:29:53

Fehler

no app in context

BadRequest

Expected filesize of 1292938359 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 0 bytes.

Could either be a network problem on the sending side or a problem writing to the storage on the server side.

18.11.2025, 11:29:29

But

net use s: https:///websites/Test

robocopy /s /e /r:1 /w:1 /tee /np /log:rc-bigfile-s.log c:\temp\Bigfile s:BigFile

works fine.

“Files > 1GB can be uploaded to Nextcloud from Filesystem.”

->Dateien->Neu->Dateien hochladen

Works fine.

For the expected size, did you check all the settings in the documentation for large file uploads?
https://docs.nextcloud.com/server/stable/admin_manual/configuration_files/big_file_upload_configuration.html

Some of these parameters can lead to similar errors:

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.