UpdateFile
Updates the content of the given file.
Execute
Sample EXECUTE UpdateFile Id=3312, FileData='aGVsbG8gd29ybGQgdXBkYXRlZA=='
EXECUTE UpdateFile LocalPath='C:/users/cdata/file.txt'
EXECUTE UpdateFile LocalPath='/tmp/file.txt'
Input
Name | Type | Required | Description |
Id | Integer | True | Id of the file to update. |
LocalPath | String | False | The absolute path to a file where data is read from. |
FileData | String | False | Base64 string representation of the file content. Only used if LocalPath and InputStream are not set. |
Result Set Columns
Name | Type | Description |
Id | Integer | Id of the updated file. |
Success | Boolean | Boolean indicating if the procedure was executed successfully. If false, the output parameter 'Details' will contain the failure details. |
Details | String | Details of execution failure. NULL if success=true. |