TransferErr Structure/Class

[C]

struct FlowSshC_TransferErr
{
  unsigned int m_transferOp;
  unsigned int m_errCode;
  wchar_t const* m_errMsg;
};

[C++]

struct TransferErr
{
  unsigned int m_transferOp;
  unsigned int m_errCode;
  std::wstring m_errMsg;
};

[C#]

public sealed class TransferErr
{
  public TransferOp TransferOp;
  public uint ErrCode;
  public string ErrMsg;
}

Members

  • TransferOp: A TransferOp enumeration. This value defines the meaning of the ErrCode member.
  • ErrCode: TransferOp defines the meaning of this member. It may be a SftpErrCode enumeration, a ResumeErrCode enumeration, or a Win32 error code. For codeless errors this member has no meaning.
  • ErrMsg: Human readable description of the error.

Remarks

Contains information about a failed [ClientSftpChannel]Download or [ClientSftpChannel]Upload request. The error is reported through a transfer handler.