Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Marja Ribbers #1
[ASP/VBscript] Forcing download of TXT files
How can I force the download of TXT files instead of the browser automatically opening them when clicking on their name/URL?
--
Marja Ribbers-de Vroed
Company website:
[url]www.webwaresystems.nl[/url]
Dreamweaver extensions:
[url]www.flevooware.nl/dreamweaver/[/url]
Marja Ribbers Guest
-
No Files for download...?
just got a new pc so im reinstalling everything. went to download the latest flash player but the link to the .exe doesnt work!? ... -
Unable to download files with IE
I've got a strange bug with IE. Whenever I try and download a file, it goes through the motions of downloading as expected, but as soon as it... -
Select files to download
Hi all, i have made a page with several photos of a party. There is a index in the page, and under each thumbnail there is a checkbox. With them... -
Forcing export "FRAMES TO FILES" in a BATCH process?
Is there a way to force export to use "frames to files" WHEN USED IN A BATCH PROCESS? I need to create a command or batch script to export... -
Forcing File Download Save/Open dialogue
I'm downloading a file using HTML <a> href. If it is a "known" file type, then the file opens in that applications window ( a Word .doc for... -
Alexandro Colorado #2
Re: [ASP/VBscript] Forcing download of TXT files
On Wed, 16 Mar 2005 14:33:41 +0100, Marja Ribbers
<marja@nospam.flevooware.nl> wrote:
Get them on Zip file. The way the browser interpret the file process is> How can I force the download of TXT files instead of the browser
> automatically opening them when clicking on their name/URL?
>
decided on the client side (meaning each user's individual browser
setting). This settings can't and shouldn't be modified by the page but
the user.
If you want to open it on notepad you need to edit the file-types with
extensions such as *.log or zip them into a downloable file.
--
Alexandro Colorado
------------------------------
Support Engineer
InterAKT Online
[url]http://www.interaktonline.com[/url]
Tel: 40(21) 312.5312
Alexandro Colorado Guest
-
Chris In Madison #3
Re: [ASP/VBscript] Forcing download of TXT files
Hi Marja,
Presuming ASP/VBS, try Tom Muck's Force Download extension:
[url]http://www.tom-muck.com/extensions/help/ForceDownload/[/url]
If you're using another server model, create an ASP/VBS page using the
extension and take a look at the code it creates. It's essentially an HTML
header being set that forces the content type to something else the browser
wants to open/download. You could do the same for PHP or what-have-you :-)
Best regards,
Chris
Chris In Madison Guest
-
Marja Ribbers #4
Re: [ASP/VBscript] Forcing download of TXT files
Thanks, I will check it out.
--
Marja Ribbers-de Vroed
Company website:
[url]www.webwaresystems.nl[/url]
Dreamweaver extensions:
[url]www.flevooware.nl/dreamweaver/[/url]
"Chris In Madison" <cowens@cnwGOAWAYDIRTYRATSPAMMERS.com> wrote in message news:d19h8e$hkv$1@forums.macromedia.com...> Hi Marja,
>
> Presuming ASP/VBS, try Tom Muck's Force Download extension:
>
> [url]http://www.tom-muck.com/extensions/help/ForceDownload/[/url]
>
> If you're using another server model, create an ASP/VBS page using the
> extension and take a look at the code it creates. It's essentially an HTML
> header being set that forces the content type to something else the browser
> wants to open/download. You could do the same for PHP or what-have-you :-)
>
> Best regards,
> Chris
>
>Marja Ribbers Guest
-
Marja Ribbers #5
Re: [ASP/VBscript] Forcing download of TXT files
Works fantastic... thank you for the tip!
--
Marja Ribbers-de Vroed
Company website:
[url]www.webwaresystems.nl[/url]
Dreamweaver extensions:
[url]www.flevooware.nl/dreamweaver/[/url]
Marja Ribbers Guest
-
Chris In Madison #6
Re: [ASP/VBscript] Forcing download of TXT files
You're welcome :-) It's been a very handy tool for me, too. Especially
when generating CSV files on the fly.
~Chris
Chris In Madison Guest
-
Marja Ribbers #7
Re: [ASP/VBscript] Forcing download of TXT files
> Especially when generating CSV files on the fly.
That type of thing is exactly what I needed this for: to download all sorts of (ascii) files that are generated on the fly by my web application.
--
Marja Ribbers-de Vroed
Company website:
[url]www.webwaresystems.nl[/url]
Dreamweaver extensions:
[url]www.flevooware.nl/dreamweaver/[/url]
Marja Ribbers Guest



Reply With Quote

