FileDownloader.FileExistsDialogText Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Message that appears if the file being downloaded already exists.

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("FileExistsDialogText", "The file [FileName] already exists. What do you want to do with it?");
//...other params...
fd.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getFileDownloader("FileDownloaderID").setFileExistsDialogText(value);
value = getFileDownloader("FileDownloaderID").getFileExistsDialogText();

Property Value

A string value that specifies a message that will appear if the file being downloaded already exists.

A special keyword is used in this text label:

[FileName]

Replaced with name of the file suggested by the server.

Default value is "The file [FileName] already exists. What do you want to do with it?".

Remarks

This property is necessary for localization of File Downloader.

See Also

Reference