LastErrorCode - InetTransfer
Returns the last error code from the HTTP / FTP Transfer
Type: Property
Access: Read-Only
Data Type: Integer
Parameters: None
Syntax
Property Integer LastErrorCode
| Access Type | Syntax |
|---|---|
| Read Access: | Get LastErrorCode to IntegerVariable |
Description
The LastErrorCode property returns the last Windows Error Code from an HTTP or FTP transfer.
LastErrorCode is not set on a successful transfer, meaning that a value of 0 means success. Only after a failed transfer, this property will have a value different from 0.
You can find good information on Windows error codes with most internet search engines.
ResponseStatusCode returns the HTTP status code. The combination of the 2 codes can be useful.