Returns the error code for an error that occurs when using the FTP object, if the .FailOnError property is true.
Read-only property
variable = object.ErrorCode |
Integer
Error code values can be found in the Microsoft header file Wininet.h and begin with and begin with ERROR_INTERNET_.