@File Upload Tokens
A file upload is a two-step operation, as follows:
- An Input File Upload element is used in a report definition to receive the file and path information for the file to be uploaded and it passes this information to a process task when the report is submitted.
- The task uses a Save File Upload procedure to save the uploaded file.
Two different types of tokens are used to return the data from the steps in the upload operation. Due to the nature of the
upload protocol, the values in the tokens are provided after the upload has already occurred. For more information, see Upload Files to the Web Server.
Token | Resolves To |
---|---|
@FileUpload.UploadFileName~ | The file name and extension entered in the Input File Upload element by the user, without any path information. |
@FileUpload.UploadFileExtension~ | The file extension of the file name entered in the Input File Upload element. |
@Procedure.myProcedureID. | The file name and extension of the uploaded file. |
@Procedure.myProcedureID. | The file extension of the uploaded file. |
@Procedure.myProcedureID. | The MIME type or content type string of the uploaded file. |
@Procedure.myProcedureID. | The size of the uploaded file, in bytes. |