FTPWI.GetErrorInfo

table FTPWI.GetErrorInfo (

)

Description

Retrieves FTP specific information about the last error that occurred.

For example, if you perform an FTPWI.Download and an error occurs, you can use this action to retrieve FTP information about that error.

Parameters

None.

Returns

(table) A table containing the FTP error information indexed by the following keys:

KEY

TYPE

DESCRIPTION

Number

number

The WinInet error code.

Message

string

The WinInet error string associated with the error code.

You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.

See also: Related Actions