UploadFile

Upload a new file to the file manager. Note: Files that contain sensitive or confidential information should not be uploaded to file manager, as all uploaded files are stored on a public CDN where the files can be accessed by anyone with the file URL.

Input

Name Type Description
FileLocation String Location of the file to upload. EX: C:\Temp\downloads\file.txt
EncodedFileData String Encoded file data. Note that if FileLocation if specified, this will not be considered.
FileName String Full name of the file. For ex:'Sample.txt'. Only required when EncodedFileData is specified.
Overwrite String Boolean if you want to overwrite a file of the same name. If false, will append a number to the file name and create a new file. Defaults to false.
Hidden String Boolean indicating whether or not the file will be hidden/inaccessible via the file manager. Defaults to false.

Result Set Columns

Name Type Description
Success String Returns True if the upload succeeded.
FileId String ID for the newly created file.