"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
acd: filter out bogus children Amazon reports sometimes
Stefan Breunig2243b065e8d0
diff --git a/amazonclouddrive/amazonclouddrive.go b/amazonclouddrive/amazonclouddrive.goindex 1e46c3343..94d597f7b 100644--- a/amazonclouddrive/amazonclouddrive.go+++ b/amazonclouddrive/amazonclouddrive.go@@ -392,6 +392,17 @@ func (f *Fs) listAll(dirID string, title string, directoriesOnly bool, filesOnlyif *node.Status != statusAvailable {continue}+ // Ignore bogus nodes Amazon Drive sometimes reports+ hasValidParent := false+ for _, parent := range node.Parents {+ if parent == dirID {+ hasValidParent = true+ break+ }+ }+ if !hasValidParent {+ continue+ }// Store the nodes up in case we have to retry the listingout = append(out, node)}