M
Martin A. Weinberger
Hi All,
I'm trying to download a file from a web page. I keep receiving a permission
denied, even though I changed the security settings to enable downloading of
files. What can the problem be?
I create this sample web page to illustrate the problem.
Thanks in advance,
<html>
<head>
<IEownload ID="oDownload" STYLE="behavior:url(#default#download)" />
<script type="text/javascript">
// Load file to load.
var messageurl=http://<some file on server>
function displaydata(data)
{
// Display the downloaded file inside externalmessage
// externalmessage.innerHTML = data
}
function readymessage()
{
oDownload.startDownload(messageurl,displaydata)
}
</script>
</head>
<body onLoad="if (document.all&&window.print) readymessage()">
</body>
</html>
I'm trying to download a file from a web page. I keep receiving a permission
denied, even though I changed the security settings to enable downloading of
files. What can the problem be?
I create this sample web page to illustrate the problem.
Thanks in advance,
<html>
<head>
<IEownload ID="oDownload" STYLE="behavior:url(#default#download)" />
<script type="text/javascript">
// Load file to load.
var messageurl=http://<some file on server>
function displaydata(data)
{
// Display the downloaded file inside externalmessage
// externalmessage.innerHTML = data
}
function readymessage()
{
oDownload.startDownload(messageurl,displaydata)
}
</script>
</head>
<body onLoad="if (document.all&&window.print) readymessage()">
</body>
</html>