Error Event

Information about errors during data delivery.

Syntax

class SFTPErrorEventParams {
public:
  int ErrorCode();
  const QString &Description();
  const QString &LocalFile();
  const QString &RemoteFile();
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void Error(SFTPErrorEventParams *e);
// Or, subclass SFTP and override this emitter function. virtual int FireError(SFTPErrorEventParams *e) {...}

Remarks

The Error event is fired in case of exceptional conditions during message processing. Normally the class fails with an error.

ErrorCode contains an error code and Description contains a textual description of the error. For a list of valid error codes and their descriptions, please refer to the Error Codes section.

LocalFile identifies the local file. RemoteFile is the remote file.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 Qt Edition - Version 20.0 [Build 8501]