diff --git a/src/nextcloud/NextcloudClient.ts b/src/nextcloud/NextcloudClient.ts
index 357a141..e2ac628 100644
--- a/src/nextcloud/NextcloudClient.ts
+++ b/src/nextcloud/NextcloudClient.ts
@@ -32,7 +32,8 @@ export class NextcloudClient {
     this.headers = { Authorization: 'Basic ' + Buffer.from(`${this.username}:${this.password}`).toString('base64') }
     this.davClient = webdav.createClient(`${this.endpoint.href}remote.php/dav/files/${this.username}`, {
       username: this.username,
-      password: this.password
+      password: this.password,
+      maxBodyLength: 1024 ** 3
     })
   }