Connecting Tech Pros Worldwide Help | Site Map

Download files from remote server

  #1  
Old October 20th, 2008, 12:05 PM
axelman
Guest
 
Posts: n/a
Hi guys,

I'm using Classic ASP, IIS6, IE 7, FF 3

I've developed a vb script to downloand files hosted in my server (zip, doc,
pdf, jpg, xls, et. etc.) it's very straight forward and there's a lot of
information around the web, however when it comes to dowload files from a
remote server (NOT hosted in my server) there is no information :-(, the
idea is to have an Access DB that stores the full url
i.e.(http://www.downloadallfiles.com/somefolder/manual.zip) then retrieve
this url and downlod the file, again I'm able to force the download dialog
box but do not know how to achive the actual download from a remote server.

Please your urgent help is appreciated, I've been stuck for 2 weeks on this
issue.

Best regards


  #2  
Old October 20th, 2008, 06:35 PM
Evertjan.
Guest
 
Posts: n/a

re: Download files from remote server


axelman wrote on 20 okt 2008 in microsoft.public.inetserver.asp.general:
Quote:
I'm using Classic ASP, IIS6, IE 7, FF 3
>
I've developed a vb script to downloand files hosted in my server
Do you mean an html page with serverside vbscript scripting in it?

IE7 and FF3 do not make sence in that case as any modern browser should do
the trick.
Quote:
(zip, doc, pdf, jpg, xls, et. etc.) it's very straight forward and
there's a lot of information around the web, however when it comes
to dowload files from a remote server (NOT hosted in my server) there
is no information :-(,
on the contrary
Quote:
the idea is to have an Access DB that stores
the full url
i.e.(http://www.downloadallfiles.com/somefolder/manual.zip) then
retrieve this url and downlod the file, again I'm able to force the
download dialog box but do not know how to achive the actual download
from a remote server.
You want to download stuf from the remote server to your own server?
Quote:
Please your urgent help is appreciated, I've been stuck for 2 weeks on
this issue.
Use

server.xmlhttp



--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
  #3  
Old October 20th, 2008, 07:25 PM
axelman
Guest
 
Posts: n/a

re: Download files from remote server


Hi
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.
Quote:
Use
>
server.xmlhttp
Can you please elaborate more and send some sample.

Thanks for your time


"Evertjan." <exjxw.hannivoort@interxnl.netwrote in message
news:Xns9B3DC656DE305eejj99@194.109.133.242...
Quote:
axelman wrote on 20 okt 2008 in microsoft.public.inetserver.asp.general:
>
Quote:
>I'm using Classic ASP, IIS6, IE 7, FF 3
>>
>I've developed a vb script to downloand files hosted in my server
>
Do you mean an html page with serverside vbscript scripting in it?
>
IE7 and FF3 do not make sence in that case as any modern browser should do
the trick.
>
Quote:
>(zip, doc, pdf, jpg, xls, et. etc.) it's very straight forward and
>there's a lot of information around the web, however when it comes
>to dowload files from a remote server (NOT hosted in my server) there
>is no information :-(,
>
on the contrary
>
Quote:
>the idea is to have an Access DB that stores
>the full url
>i.e.(http://www.downloadallfiles.com/somefolder/manual.zip) then
>retrieve this url and downlod the file, again I'm able to force the
>download dialog box but do not know how to achive the actual download
>from a remote server.
>
You want to download stuf from the remote server to your own server?
>
Quote:
>Please your urgent help is appreciated, I've been stuck for 2 weeks on
>this issue.
>
Use
>
server.xmlhttp
>
>
>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

  #4  
Old October 20th, 2008, 08:15 PM
Evertjan.
Guest
 
Posts: n/a

re: Download files from remote server


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)
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Download from remote server to mine. Worked but now doesn't. nothing1 answers 0 January 16th, 2008 07:46 AM
Application to download files using BITS from remote serve Sachit answers 0 November 22nd, 2005 11:11 PM
Downloading file from remote server with 'Save As' dialogue kevin answers 5 November 16th, 2005 04:55 PM
Application to download files using BITS from remote serve Sachit answers 0 October 6th, 2005 07:35 AM