Tag Link | [File_ProcessUploads] | Category | File |
---|---|---|---|
Type | Substitution | Source Available | No |
Support | Preferred | Version | 8.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0 |
[File_ProcessUploads] automatically processes any files that were uploaded with the form that loaded the current page. This tag allows uploaded files to be moved to a target directory with either their original name or with the temporary name. The files can be filtered by type and size.
The tag requires one parameter which is the destination directory where the uploaded files should be moved. The location can be an absolute, relative, or fully qualified path. The user executing the tag must have permission to access both the file uploads directory and the destination directory.
Optional
Optional
[File_ProcessUploads: '/UploadedFiles/']
[File_ProcessUploads: '/UploadedFiles/',
Required Parameters | |
---|---|
-Destination | The path where the uploaded files should be moved. |
Optional Parameters | |
-MaxSize | The maximum file size to process. Defaults to processing all files. |
-Extensions | An array of file extensions which should be processed. Defaults to all the extensions that Lasso can process. |
-FileOverwrite | If specified then duplicate filenames in the destination will be overwritten. |
-UseTempNames | If specified then the temporary file names will be used rather than the original file names. |
See the Lasso 8 Language Guide for examples of how to use this tag.
Substitution | ||
---|---|---|
|
|
|