"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
Document workaround for ACD maximum file size.
klauspost4ce2a84df0f1
diff --git a/amazonclouddrive/amazonclouddrive.go b/amazonclouddrive/amazonclouddrive.goindex 27baa25e6..97328435e 100644--- a/amazonclouddrive/amazonclouddrive.go+++ b/amazonclouddrive/amazonclouddrive.go@@ -39,6 +39,7 @@ const (statusAvailable = "AVAILABLE"timeFormat = time.RFC3339 // 2014-03-07T22:31:12.173ZminSleep = 20 * time.Millisecond+ warnFileSize = 50 << 30 // Display warning for files larger than this size)// Globals@@ -440,6 +441,9 @@ func (f *Fs) Put(in io.Reader, remote string, modTime time.Time, size int64) (fsif err != nil {return nil, err}+ if size > warnFileSize {+ fs.Debug(f, "Warning: file %q may fail because it is too big. Use --max-size=%dGB to skip large files.", remote, warnFileSize>>30)+ }folder := acd.FolderFromId(directoryID, o.fs.c.Nodes)var info *acd.Filevar resp *http.Responsediff --git a/docs/content/amazonclouddrive.md b/docs/content/amazonclouddrive.mdindex f2a3ec593..d74df1686 100644--- a/docs/content/amazonclouddrive.md+++ b/docs/content/amazonclouddrive.md@@ -102,3 +102,15 @@ Amazon cloud drive has rate limiting so you may notice errors in thesync (429 errors). rclone will automatically retry the sync up to 3times by default (see `--retries` flag) which should hopefully workaround this problem.++Amazon cloud drive has an internal limit of file sizes that can be+uploaded to the service. This limit is not officially published,+but all files larger than this will fail.++At the time of writing (Jan 2016) is in the area of 50GB per file.+This means that larger files are likely to fail.++Unfortunatly there is no way for rclone to see that this failure is+because of file size, so it will retry the operation, as any other+failure. To avoid this problem, use `--max-size=50GB` option to limit+the maximum size of uploaded files.\ No newline at end of file