UploadFile
Upload a File. Path and FilePath are required for a successful operation.
In case you want to upload a single file, specify a source and destination file as parameter values. For example:
EXEC UploadFile Path='destination/path/name.txt', FilePath='source/path/name.txt'
In case you want to upload multiple files, specify a source and destination folder to upload all the files inside that folder. Use the MaxThreads property to control how many files will be uploaded at a time in parallel. For example:
EXEC UploadFile Path='destination/path', FilePath='source/path'
Increase the Timeout value if you are uploading large files.
Input
Name | Type | Accepts Input Streams | Description |
Path | String | False | Set this to the path of the file where it will be uploaded. |
FilePath | String | False | Set this to the path of the file which will be uploaded. Example: C:/Users/User/Desktop/SampleUploadtest.txt. |
Content | String | True | The content as an InputStream which will be written to the newly created file. Alternative to FilePath. |
Result Set Columns
Name | Type | Description |
Success | Boolean | Whether the operation completed successfully or not. |