"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
jottacloud: fix bug in --fast-list handing of empty folders - fixes #2650
albertony935b7c1c0f66
diff --git a/backend/jottacloud/jottacloud.go b/backend/jottacloud/jottacloud.goindex 8790562fc..36928f4c0 100644--- a/backend/jottacloud/jottacloud.go+++ b/backend/jottacloud/jottacloud.go@@ -464,12 +464,12 @@ func (f *Fs) listFileDir(remoteStartPath string, startFolder *api.JottaFolder, fif folder.Deleted {return nil}- folderPath := path.Join(folder.Path, folder.Name)- remoteDirLength := len(folderPath) - pathPrefixLength+ folderPath := restoreReservedChars(path.Join(folder.Path, folder.Name))+ folderPathLength := len(folderPath)var remoteDir string- if remoteDirLength > 0 {- remoteDir = restoreReservedChars(folderPath[pathPrefixLength+1:])- if remoteDirLength > startPathLength {+ if folderPathLength > pathPrefixLength {+ remoteDir = folderPath[pathPrefixLength+1:]+ if folderPathLength > startPathLength {d := fs.NewDir(remoteDir, time.Time(folder.ModifiedAt))err := fn(d)if err != nil {