mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
onedrive: fall back to normal copy if server-side copy unavailable (#4903)
Fixes #4342 by: * Disabling server-side copy if either drive isn't OneDrive Personal * Falling back to normal copy if server-side copy fails
This commit is contained in:
@@ -281,6 +281,7 @@ type CreateShareLinkResponse struct {
|
||||
type AsyncOperationStatus struct {
|
||||
PercentageComplete float64 `json:"percentageComplete"` // A float value between 0 and 100 that indicates the percentage complete.
|
||||
Status string `json:"status"` // A string value that maps to an enumeration of possible values about the status of the job. "notStarted | inProgress | completed | updating | failed | deletePending | deleteFailed | waiting"
|
||||
ErrorCode string `json:"errorCode"` // Not officially documented :(
|
||||
}
|
||||
|
||||
// GetID returns a normalized ID of the item
|
||||
|
||||
Reference in New Issue
Block a user