TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

FileDownloader.LogFileForbiddenText Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Text string that appears in the download log to indicate that access to the file on the server was denied.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var fd = new FileDownloaderWriter("FileDownloaderID", 610, 500);
//...other params...
fd.addParam("LogFileForbiddenText", "Authorization failed");
//...other params...
fd.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getFileDownloader("FileDownloaderID").setLogFileForbiddenText(value);
value = getFileDownloader("FileDownloaderID").getLogFileForbiddenText();

Property Value

A string value that specifies a text to be displayed in the download log if access to the file on the server was denied.

Default value is "Authorization failed".

Remarks

This property is necessary for localization of File Downloader.

See Also

Reference