LastError property

Returns an FTP client error value.

Syntax

Object.LastError

Return value type

Long

Return value

Returns the error code. Normally, LastError returns 0 for success or an FTP client error value.

Here are some common errors (rcFTP_Error = 0x20000000):