>Hi all,
>
>I am designing a page to let users to download a file from another web server. So when the user click the link on my web page, it will open/download the file from the link.
>
>I would like to know is there anyway to hide the URL of the location of the file? I wanted to force the users to come to my page to download/open the file instead of going to the File URL.
>
>Please advise, and thanks.
>
>regards,
>Kusnardi
In addition to Mark's suggestion - you can use a JavaScript HTTP request:
var oHTTP=new ActiveXObject("MSXML2.XMLHTTP");
/* HTTP GET Requests */
function GetServerHTTPResponse(aURL,boolAsync)
{
var ClearTheCache="thekey="+new Date().getTime().toString();
oHTTP.Open("GET",aURL+ClearTheCache,boolAsync);
oHTTP.Send();
return oHTTP.responseText;
You might also look at the "target" argument. You can use 'hidden' frame pages, also, to launch targeted URLs from.
Imagination is more important than knowledge