Permission error while downloading file through IE8 I have one content type with file upload field. I am saving the files to drupal/sites/default/files/search/documents custom folder. The user can download the files from the site. The download works fine in all browsers expect IE8. 



I am getting an error pop while downloading a file. Its only happening in IE8 on both windows XP and Windows 7. Once i click on download link this error is comming

"Unable to download 11820 from subdomain.domain.org" "Unable to open this internet site. The requested site is either unavailable or cannot be found. Please try again later."

Here 11820 is the node id. I am using SSL certificate in my site though the url is https://subdomainabc.domainabc.org/
Updated download_file module header.

 $headers = array(
   'Content-Type'              =&gt; 'force-download',
   'Content-Disposition'       =&gt; 'attachment; filename="' . $file-&gt;filename . '"',
   'Content-Length'            =&gt; $file-&gt;filesize,
   'Content-Transfer-Encoding' =&gt; 'binary',
   'Pragma'                    =&gt; 'private, no-cache',
   'Cache-Control'             =&gt; 'private, no-store, no-cache, max-age=0, must-revalidate',
   'Expires'                   =&gt; '0',
   'Accept-Ranges'             =&gt; 'bytes'
 );