mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 07:29:35 +01:00
ftp: work around strange response from box FTP server
The Box FTP server seems to send 450 instead of 550 - work around that. See: https://forum.rclone.org/t/using-box-com-over-ftp-problems/5313
This commit is contained in:
parent
9f04ce282e
commit
c01177bc28
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user