9ee3ad70e9
Some sftp servers don't allow the user to access the file after upload. In this case the error message indicates that using --sftp-set-modtime=false would fix the problem. However it doesn't because SetModTime does a stat call which can't be disabled. Update SetModTime failed: SetModTime stat failed: object not found After upload this patch checks for an `object not found` error if set_modtime == false and ignores it, returning the expected size of the object instead. It also makes SetModTime do nothing if set_modtime = false https://forum.rclone.org/t/sftp-update-setmodtime-failed/22873 |
||
---|---|---|
.. | ||
sftp.go | ||
sftp_internal_test.go | ||
sftp_test.go | ||
sftp_unsupported.go | ||
stringlock.go | ||
stringlock_test.go |