Hi,
This error most likely comes from the SFTP server and indicates a server-side issue while reading from a file. Server-side error trigger an SftpException
with a Status
property set to SftpExceptionStatus.ProtocolError
. Check this to distinguish server-side errors from other errors.
If this is indeed a server-side issue, it should be analyzed at the server-side - the server log should contain additional information. The client only gets the error message and error code (available through SftpExceptionStatus.Code
).