Method EnsureSuccess
EnsureSuccess()
Throws when the reply is a status other than Ok; returns this reply otherwise.
public SftpExtendedReply EnsureSuccess()
Returns
- SftpExtendedReply
This reply.
Exceptions
- SftpException
The server answered with an error status.