Remote file download and https
| From: | Radu Manole | Date: | Wed, 04 Sep 2002 11:17:22 +0000 |
| Subject: | Remote file download and https | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115155@lists.php.net to get a copy of this message | ||
Hi Guys,
I'm trying to create a "transparent download" using a script (the script
would run from my local machine) that will request a file from a remote
server, that looks like this (https request):
https://www.httpsserver.net/Pages/Download.asp?usr=test&pass=test&from=05/01
/02&to=09/03/02
This link will trigger an excel file download.
I tryed with fsockopen() and fopen() but no luck.
Also the Header ("Location: $myurl") starts the download but redirect the
user to httpsserver.
Any ideas and hints to start this transparent download would be much
appreciated. Maybe to use a popup window?
Many Thanks,
Radu