Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.

FileDownloader.LogFileWrongContentTypeText Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Text string that appears in the download log to indicate that the server returned a wrong MIME type.

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("LogFileWrongContentTypeText", "Wrong Content-Type");
//...other params...
fd.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getFileDownloader("FileDownloaderID").setLogFileWrongContentTypeText(value);
value = getFileDownloader("FileDownloaderID").getLogFileWrongContentTypeText();

Property Value

A string value that specifies a text to be displayed in the download log if the MIME type specified in the file list does not correspond to the MIME type returned by the server.

Default value is "Wrong Content-Type".

Remarks

This property is necessary for localization of File Downloader.

See Also

Reference