Gets and sets the last error code.
Syntax
object.LastError [= lasterror]
The object is an expression that evaluates to a FileTransfer
object. The property returns a long integer value.
Remarks
The LastError property can be read to determine the last
error that occurred for this instance of the object. If a value is
assigned to this property, it must either be zero (to clear the
error) or a valid error code.
Data Type
Integer
See Also
OnError Event
|