mirror of
https://github.com/nextcloud/server.git
synced 2026-06-29 12:24:50 +02:00
6a4ea2c15a
Removes the need for POST to collection which would hit against upload limits. The client tries to auto rename the file by adding a suffix "(2)". It tries to use the file list on the client side to guess a suitable name. In case a file still cannot be uploaded and creates a conflict, which can happen when the file was concurrently uploaded, the logic will continue increasing the suffix.