axelman wrote on 20 okt 2008 in microsoft.public.inetserver.asp.general:
Quote:
Quote:
>Do you mean an html page with serverside vbscript scripting in it?
>
Yes
>
Quote:
>You want to download stuf from the remote server to your own server?
>
Not exactly, I'm developing an app that allows the register users to
upload the url of documents they wish to share, so there's no space or
bandwidth consumed on my server, now when a new user wants to download
a file all he sees is a link with the file name (even if he
edits/views the source code of the page) and when the download starts
the download dialog and browser window do not display the full url
path to the file just the file name.
>
Again I've achieved this when files are physically on my server,
however when a file is on a remote server I can not do a binary file
transfer.
You would need, methinks, to download, with cliendside scripting,
files from a page on another domain to the client.
and serverside scripting has nothing to do with it,
as you cannot download on the client using serverside scripting.
This other domain downloading by clientside script is:
1 off topic of this serverside scripting under classic ASP group.
2 impossible with modern browsers under the default security settings of
a browser.
However you could just insert the url this way and download with
rightclick+download [windows IE] file using:
<a href='<% = serversidestringvariablecontaininganydomainurl %>'>
Download me</a>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)