Skip to content

[bug]: Configuration for WebDAV Settings does not allow set to 0 for an unlimited upload size. #70

@JesseMarkowitz

Description

@JesseMarkowitz

Prerequisites

  • I have searched for existing issues that already report this problem.

Device

Laptop/Desktop

Device OS

Windows

Device OS Version

Win10

Browser

Chrome

Browser Version

Version 131.0.6778.205 (Official Build) (64-bit)

Current Behavior

When configuring NextCloud WebDAV Settings you can specify the Maximum upload file size. If you click the help icon it says:

Maximum upload file size for WebDAV (set to 0 for an unlimited upload size). You may want to raise this value if you are having issues with WebDAV uploads. Default: 1024

If you enter 0 there is an immediate error message: Number must be greater than 0

If you click SAVE with 0 for the max size you get RPC ERROR: Config Generation Error No Match: webdav.max-upload-file-size-limit: Number Out Of Range: expected (0,65536], actual: 0

Expected Behavior

I expect it to save as a 0 in the config and allow me to upload multiple GB files.

Steps to Reproduce

Using NextCloud 27.1.7 go to Config
Expand WebDAV Settings
Specify the Maximum upload file size as 0
Click SAVE

Anything else?

Might have been introduced while fixing: #65

For now, I just entered 65536.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions