Waiting for engine...
Skip to main content

Uploading Tool URL parameters with no security token

  • ThruSessionID (mandatory): Unique identifier of the current session.
  • ThruFolderID (mandatory): Unique identifier of a folder on the MFT FS server.
  • 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.

If the upload fails, the server returns a server error code in the parameter ThruErrorCode. If an error occurred and ThruErrorReportingURL is not defined, then the server will throw an exception in the page that contains the widget.

note
  • The value of ThruErrorReportingUrl is not validated. YYou should verify that it is a valid URL that exists when integrating the MFT FS widget.
  • ThruSuccessUrl and ThruErrorReportingUrl must be absolute URLs starting with the protocol prefix https://
  • 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 a 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.