read from 13 for 32768 from 32785 not supported. (SSH_FX_FAILURE) using sftp backend
funkyshu opened this issue · comments
Getting
sftp: "read from 13 for 32768 from 32785 not supported." (SSH_FX_FAILURE)
when doing file.CopyTO or file.MoveTo on some servers (works fine on openssh sftp server).
Problems stems of cached file handle when calling Seek which use RW mode. Then later Reads end up failing on some servers.
Should roll back seek validation on CopyTo and MoveTo funcs until a more robust solution is found.