FileDownloader.LogFileSuccessText Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Text string that appears in the download log to indicate a successful download of the file.

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("LogFileSuccessText", "File [FileName] has been downloaded from [Url]");
//...other params...
fd.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getFileDownloader("FileDownloaderID").setLogFileSuccessText(value);
value = getFileDownloader("FileDownloaderID").getLogFileSuccessText();

Property Value

A string value that specifies a text to be displayed in the download log on successful file download.

Two special keywords are used in this text label:

[FileName]

Replaced with name of the saved file.

[Url]

Replaced with the URL from which the file was downloaded.

Default value is "File [FileName] has been downloaded from [Url]".

Remarks

This property is necessary for localization of File Downloader.

See Also

Reference