Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

ftp: work around strange response from box FTP server

Nick Craig-Woodc01177bc28db
diff --git a/backend/ftp/ftp.go b/backend/ftp/ftp.go
index 15e79131a..eb51bd833 100644
--- a/backend/ftp/ftp.go
+++ b/backend/ftp/ftp.go
@@ -247,7 +247,7 @@ func translateErrorFile(err error) error {
switch errX := err.(type) {
case *textproto.Error:
switch errX.Code {
- case ftp.StatusFileUnavailable:
+ case ftp.StatusFileUnavailable, ftp.StatusFileActionIgnored:
err = fs.ErrorObjectNotFound
}
}