Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
| Search | Today's Posts | Mark Forums Read
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 8th, 2004, 07:28 AM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to download automatically in HTML?

I want to realize following function, when user visited a html page,IE will pop a window,and alert a file will be download,downloaded file type is ".txt",such as "a.txt",the content of ".txt" is automatically created.How to realize this function?

 
Old March 8th, 2004, 08:02 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

You'll probably need server side code for this. Here's one link which may help if you're using ASP.
http://support.microsoft.com/default...;EN-US;q260519

--

Joe




Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML tags to automatically hang bulleted lines? cJeffreywang ASP.NET 2.0 Basics 1 February 6th, 2008 02:12 AM
How to Automatically download data ? ayan_biswas_79 ASP.NET 2.0 Professional 1 July 3rd, 2007 05:24 AM
Download Code won't download More_Toys BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 15 May 13th, 2006 10:49 AM
Download file in HTML format itHighway Classic ASP Professional 2 April 28th, 2006 12:52 AM
Smaller download/single download file available jminatel BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 November 21st, 2005 11:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.