rclone/backend/putio
Nick Craig-Wood 8308d5d640 putio: fix server side copy failures (400 errors)
For some unknown reason the API sometimes returns the name already
exists on a server side copy.

    {
      "error_id": null,
      "error_message": "Name already exist",
      "error_type": "NAME_ALREADY_EXIST",
      "error_uri": "http://api.put.io/v2/docs",
      "extra": {},
      "status": "ERROR",
      "status_code": 400
    }

This patch uploads to a temporary name then renames it which works
around the problem.

This was spotted by the integration tests.
2023-06-28 16:45:35 +01:00
..
error.go putio: fix multithread download and other ranged requests 2022-04-04 11:15:55 +01:00
fs.go putio: fix server side copy failures (400 errors) 2023-06-28 16:45:35 +01:00
object.go putio: fix uploading to the wrong object on Update with overriden remote name 2023-06-27 16:02:33 +01:00
putio.go build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
putio_test.go putio: add new backend 2019-08-23 12:11:36 +01:00