Back to product page

ServerErrorCode property


Holds the error code returned by the server.

Type

An Integer value. Holds the error code returned by the server for error 30018.

Syntax

  • Basic
object.ServerErrorCode
The ServerErrorCode(object) syntax has these parts:
objectAn expression evaluating to an object of type wodSFTP.

Remarks

The ServerErrorCode property holds the last error that was returned by the server and is only set by wodSFTP when error 30018 is thrown. If you try to read this information before 30018 is thrown, it will probably be invalid. We recommend that you read this information from within the Done event body or, if you're working in Blocking mode, immediately after you get control back from wodSFTP.

Possible values are:

      0 OK
      1 End of file
      2 No such file or folder
      3 Permission denied
      4 General failure
      5 Bad message
      6 No connection
      7 Connection lost
      8 Operation unsupported

Platforms

Windows