Skip to content

Commit

Permalink
Merge pull request #1464 from terrywhitney/patch-6
Browse files Browse the repository at this point in the history
Update page.md
  • Loading branch information
zspitzer authored Feb 28, 2025
2 parents 5514d02 + ccece78 commit ddfdc03
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions docs/04.guides/13.Various/49.file-upload-result/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,37 @@
title: File Upload Operation Result
id: file-upload-result
related:
- tag-file
- function-fileupload
- function-fileuploadall
- tag-file
- function-fileupload
- function-fileuploadall
categories:
- files
- files
---

Return a struct with the information about the file uploaded operations as the result of [[tag-file|cffile action="upload"]]/[[function-fileupload]]/[[function-fileuploadall]].
Return a struct with the information about the file upload operations as the result of [[tag-file|cffile action="upload"]], [[function-fileupload]], or [[function-fileuploadall]].

### General information ###
### General Information

Key | Description
-------------- | -----------------
attemptedServerFile | Name of the file that Lucee attempted to save
clientDirectory | Directory of the uploaded file in the client's system
clientFile | File name of the uploaded file in the client's system
clientFileExt | Extension of the uploaded file in the client's system
clientFileName | File name of the uploaded file without extension in the client's system
contentSubtype | MIME content subType of the file (i.e png is subType of the mimetype image/png)
contentType | MIME content type of the file (i.e image is type of the mimetype image/png)
dateLastAccessed | The date and time of the uploaded file accessed in the client's system
fileExisted | Boolean value to indicate file already exists in the destination or not
fileSize | Size of the uploaded file
fileWasAppended | Boolean value to indicate the saved file was appended or not
fileWasOverWritten | Boolean value to indicate the saved file was overwritten or not
fileWasRenamed | Boolean value to indicate the saved file name was renamed or not
fileWasSaved | Boolean value to indicate the uploaded file was saved to destination location or not
oldFileSize | Size of the overwritten file
serverDirectory | The directory of the file saved
serverFile | The filename of the saved file
serverFileExt | The extension of the saved file
serverFileName | The filename of the saved file without extension
timeCreated | The date and time of the saved file created
timeLastModified | The date and time of the last modification done in the saved file
| Key | Description |
|----------------------|-------------|
| attemptedServerFile | Name of the file that Lucee attempted to save |
| clientDirectory | Directory of the uploaded file in the client's system |
| clientFile | File name of the uploaded file in the client's system |
| clientFileExt | Extension of the uploaded file in the client's system |
| clientFileName | File name of the uploaded file without extension in the client's system |
| contentSubtype | MIME content subtype of the file (e.g., `png` is the subtype of the MIME type `image/png`) |
| contentType | MIME content type of the file (e.g., `image` is the type of the MIME type `image/png`) |
| dateLastAccessed | The date and time when the uploaded file was last accessed on the client's system |
| fileExisted | Boolean value indicating whether the file already existed in the destination |
| fileSize | Size of the uploaded file (in bytes) |
| fileWasAppended | Boolean value indicating whether the saved file was appended |
| fileWasOverWritten | Boolean value indicating whether the saved file was overwritten |
| fileWasRenamed | Boolean value indicating whether the saved file was renamed |
| fileWasSaved | Boolean value indicating whether the uploaded file was saved to the destination location |
| oldFileSize | Size of the overwritten file (if applicable) |
| serverDirectory | The directory where the file was saved on the server |
| serverFile | The filename of the saved file |
| serverFileExt | The extension of the saved file |
| serverFileName | The filename of the saved file without extension |
| timeCreated | The date and time when the saved file was created |
| timeLastModified | The date and time of the last modification of the saved file |

0 comments on commit ddfdc03

Please sign in to comment.