diff --git a/packages/nextcloud/lib/src/webdav/client.dart b/packages/nextcloud/lib/src/webdav/client.dart index f4f7a3dd8d9..7bc5df0f171 100644 --- a/packages/nextcloud/lib/src/webdav/client.dart +++ b/packages/nextcloud/lib/src/webdav/client.dart @@ -134,7 +134,7 @@ class WebDavClient { headers: _getUploadHeaders( lastModified: lastModified, created: created, - contentLength: null, + contentLength: localData.length, ), );