Member variable HttpUploadedFile():LastError Foundation
Contains the error code of the last file operation.
: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.
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.