CreateFileStagingItem
Create a file or folder in the Vault file staging area. Set Type to 'folder' to create a directory, or 'file' to upload a local file.
Input
| Name | Type | Required | Description |
| DestinationPath | String | True | The full path for the new item in the file staging area, for example '/myfolder/report.pdf' for a file or '/myfolder/subfolder/' for a folder. |
| Type | String | True | The type of item to create. Accepted values are 'file' and 'folder'. |
| SourceFilePath | String | False | The local path of the file to upload. Required when Type is 'file'. The file must not exceed 50 MB. |
| OverWrite | String | False | Whether to overwrite an existing item at the specified path. Accepted values are 'true' and 'false'. Defaults to false. |
Result Set Columns
| Name | Type | Description |
| Success | String | Whether the procedure was successful. |
| Name | String | The name of the created item. |
| Type | String | Whether the created item is a 'file' or 'folder'. |
| DestinationPath | String | The full path of the created item in the file staging area. |
| Size | String | The size of the uploaded file in bytes. Empty for folders. |
| FileContentMd5 | String | The MD5 checksum of the uploaded file content. |