Upload error messages
There are eighteen different upload error messages.
| Number | Error Code | Error Condition | Error-Related More Information or Any Message |
|---|---|---|---|
| 1 | PLTF001 |
If sc.file.upload.dir is not set | Mandatory temporary directory not configured in properties file. |
| 2 | PLTF007 | If user is not authenticated. | File Upload - Authentication Failed. |
| 3 | PLTF006 | Session is not valid. | InvalidSession |
| 4 | PLTF009 | If the file size exceeds the allowed size. | Cannot proceed with file upload. Maximum file size exceeded for file :<filename>. Maximum file size allowed(bytes):<max_size> |
| 5 | PLTF011 | If the file type is not allowed. | Cannot proceed with file upload. File type not allowed. File :<filename>. Allowed file types:<allowed_types> |
| 6 | PLTF004 | If file is not found after virus scan in quarantine directory. | File is not found in the directory specified after virus scan. |
| 7 | PLTF008 | If virus scan fails. | Error message sent by the virus scan implementation should be shown. |
| 8 | If file cannot be deleted after it is placed in the temporary directory. | Error: Cannot delete file at location: | |
| 9 | If file is not found at the specified location, during file delete. | Error: File not present at location: | |
| 10 | If during file delete, if yfs.properties is not configured or file location is not provided. | Error: File upload temporary is not configured in yfs.properties or file location is not provided. | |
| 11 | If file is successfully deleted in temporary location. | File deleted at location: | |
| 12 | PLTF013 | Virus scan implementation class cannot be found or is incorrect. | Error message sent will be available on the client. |
| 13 | PLTF014 | Encoder-decoder implementation class cannot be found or is incorrect. | Error message sent will be available on the client. |
| 14 | PLTF015 | File upload temporary directory is not found. | Error message sent will be available on the client. |
| 15 | PLTF016 | File upload quarantine directory is not found. | Error message sent will be available on the client. |
| 16 | PLTF017 | Processing of multipart/form-data request failed. | Error message sent will be available on the client. |
| 17 | PLTF018 | File upload property is not defined correctly. | Error message sent will be available on the client. |
| 18 | PLTF019 | Secure file delete implementation class cannot be found or is incorrect. | Error message sent will be available on the client. |