rskshiva
08-31-2005, 05:33 AM
Hi,
i have used the below code to download a file and it is working fine in http site.
header ("Content-Disposition: attachment; filename=$path");
$filename="$fpath";
$fileopen=fopen($filename,"r");
$filecon=fread($fileopen,filesize("$filename"));
fclose($fileopen);
echo $filecon;
We have changed the site to https (secured shell). Now the following IE error message will get displayed and we are not able to download the file.
"Internet Explorer cannot download ..... from www.test.com. Internet Explorer was not able to open the Internet site. The requested site is either unavailable or cannot be found. Please try again later."
Anyone kindly provide a solution asap so that it will be very helpful for me.
Thanks,
Siva Kumar R
i have used the below code to download a file and it is working fine in http site.
header ("Content-Disposition: attachment; filename=$path");
$filename="$fpath";
$fileopen=fopen($filename,"r");
$filecon=fread($fileopen,filesize("$filename"));
fclose($fileopen);
echo $filecon;
We have changed the site to https (secured shell). Now the following IE error message will get displayed and we are not able to download the file.
"Internet Explorer cannot download ..... from www.test.com. Internet Explorer was not able to open the Internet site. The requested site is either unavailable or cannot be found. Please try again later."
Anyone kindly provide a solution asap so that it will be very helpful for me.
Thanks,
Siva Kumar R