mirror of
https://github.com/rclone/rclone
synced 2024-11-30 09:10:05 +01:00
8308d5d640
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. |
||
---|---|---|
.. | ||
error.go | ||
fs.go | ||
object.go | ||
putio_test.go | ||
putio.go |