Handles file uploads via HTTP POSTs. Handling the upload is a three-step process. First, you need to create an instance of the class, passing it the form field name and optional destination directory and upload array index. After that, you check if the upload completed successfully, and based on that check, either move the file to the permanent location or emit an error message.
Events
| OnInit | Fired when the object is created. |
| InitComplete | Fired after object is initialized. |
| OnMove | Fired before moving the uploaded file to its destination. |
| MoveComplete | Fired after the file is successfully moved. |
Summary
| Handles file uploads via HTTP POSTs. |
| |
| Get a status code for the file upload. |
| Determines the status of the upload. |
| Moves the file from the upload directory to the permanent location. |
| Gets a message associated with the status of the upload. |