all groups > inetserver asp general > january 2005 >
You're in the

inetserver asp general

group:

Download tools


Re: Download tools Curt_C [MVP]
1/31/2005 8:49:52 AM
inetserver asp general:
huh? Any <A HREF...> should work to point to the file. The user will then be
prompted to save/open it....
What is it that you are trying to do different that makes you think you need
something more?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


[quoted text, click to view]

Download tools Simon Wigzell
1/31/2005 2:32:38 PM
Allowing download of file types that will display in a browser is no
problem, but how about files types that don't display? I would like my
clients to be able to click on a link that will start a download or any type
of file. Try searching on "download"! Of course this has to be server side -
I can't expect my clients to have to install something at there end. Thanks.

Re: Download tools jeff.nospam NO[at]SPAM zina.com
1/31/2005 2:47:19 PM
On Mon, 31 Jan 2005 14:32:38 GMT, "Simon Wigzell"
[quoted text, click to view]

First, always specify the operating system in asking a question like
this. Thw web server can send any file type, and the client can
choose to save it, but in some versions you have to configure the
specific MIME type.

Otherwise, did you try your own suggestion? Aspin.com should have
download scripts and components to search for, as should most other
ASP resource sites.

Re: Download tools Curt_C [MVP]
2/1/2005 1:19:45 PM
true... but now you are trying to override the USERS settings.
If it's a file type I've specified to open then I want it to open....

Anyway, just set the file type to "unknown" to force the download, in the
headers.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


[quoted text, click to view]

Re: Download tools Simon Wigzell
2/1/2005 5:39:32 PM

[quoted text, click to view]
Well, if the file is an image file it will open in another browser window,
if it is a .zip file it will open winzip if that is installed, if it is a
..doc it will open in word...etc. I want a server side process that will just
set off a download of the file, regardless of type. e.g. the link would be
something like http://[DomainName]/Download.asp?FileName

You can get tons of free Server Side upload code, why not download?

Re: Download tools Ben Miller [MSFT]
2/3/2005 4:13:35 PM
You can look here:

http://www.xefteri.com/articles/may082002/default.aspx

This explains how to use the Response.AddHeader to put the "attachment" into
the stream so that it does not just open the file based on the MIME mapping.

Ben Miller

[quoted text, click to view]

AddThis Social Bookmark Button