Member variable HttpUploadedFile():LastError Foundation

Contains the error code of the last file operation.

Attribute: EXPORTED
Data type: Numeric (0)
Description

:LastError contains the operating system error code of the last file operation used during the upload process or while accessing the file content via the member variable :Data. The value in :LastError is updated by the system only when accessing disk-based files. No disk access occurs for files residing in memory. Consequently, no error status is reported in this case.

Also see the section on the global configuration file and the member variable :IsOnDisk for more information on uploaded file management and configuration.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.