Download file: ACCESS DENIED
<p>I keep on having "ACCESS DENIED" after hitting my download button.
I already have full control on the specified folder.</p>

<p>I use this in jquery.</p>

<pre><code>function DownloadFile(ProductNumber, File) 
{
    var windowSizeArray = ["width=400,height=400",
                           "width=500,height=600,scrollbars=yes"];

    File = "C:/Documents and Settings/My PC/My Documents/" + File;
    if (File != "") 
    {

        var windowName = "popUp"; 
        var windowSize = windowSizeArray[$(this).attr("rel")];

        var exist = isExists(File);
        if (exist) 
        {
            window.open(File, windowName, windowSize);
        } 
        else 
        {
            ShowAlertMessage("The file for Product no. &lt;a href='" + File + "' target='blank'&gt;" + ProductNumber+ "&lt;/a&gt; does not exist.");
        }
    } 
    else 
    {
        ShowAlertMessage("No PDF file for Product no: " + ProductNumber+ ".");
    }
}
</code></pre>
