Waiting for engine...
Skip to main content

Uploading API URL parameters with a security token

  • ThruFolderID (mandatory): base64string value that represents an encrypted security token.
  • ThruSuccessUrl (mandatory): Browser window containing the widget will be redirected to this URL on successful upload.
  • ThruErrorReportingUrl (mandatory): Browser window containing the widget will be redirected to this URL on failed upload.
  • ThruApplicationID (mandatory): ID of the application for which the security token is created.

If the upload failed, the server returns the server error code in the parameter ThruErrorCode.

If an error occurs and ThruErrorReportingURL is not defined, the server throws an exception on the page that contains the widget.

note

The value of ThruErrorReportingUrl is not validated. You should verify that the URL is valid and exists when integrating the MFT FS widget.

  • ThruFileFilter (optional): Specifies which file types can be uploaded through the widget.

Format:

<Description> : <extension1>, <extension2> … <extensionN> .

For example: ThruFileFilter=“Zip files (*.zip, *.7z, *.tar): zip, 7z, tar” will allow upload of files with zip, 7z, tar extensions.

Browsing in the Add button is allowed only for files of the specified type. Drag-and-drop functionality for all other file types is ignored.

If a parameter is not specified, all file types can be uploaded.

  • ThruFileFilterExceptions (optional): Specifies which file types cannot be uploaded through the widget.

Format:

<extension1>, <extensionX>. 

For example: ThruFileFilterExceptions=exe,msi,mp3 prevents uploading of the file types exe, msi, mp3.

note

Parameters ThruFileFilter and ThruFileFilterExceptions are mutually exclusive; only one can be used on the widget.

If the same file extension is specified in ThruFileFilter and ThruFileFilterExceptions, the latter overrides the former.

  • ThruMaxFileNumber (optional): Controls the maximum number of files a user can upload in a single session through the widget.
  • ThruMinFileSizeBytes (optional): Specifies the minimum file size in bytes that can be uploaded through the widget.
  • ThruMaxFileSizeBytes (optional): Specifies the maximum file size in bytes that can be uploaded through the widget.