?
Solved

How to open a download window by programming?

Posted on 2005-03-07
4
Medium Priority
?
137 Views
Last Modified: 2010-04-06
I have a file with PRN extension that I cannot download because of a reason that I don't know.

...
I want that user can download It on his computer just by cliking a link or after my processus of create of this file.

Thanks

Marco
0
Comment
Question by:chouproute
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 33

Expert Comment

by:sajuks
ID: 13476678
If ur prn files are associated with an application (like notepad ) then it would be possible to open it withut much ado. Your best bet would be to've the file as a .txt file and then 've it as a nortmal link for download
like <a href ="myfile.txt">Download file</a>
0
 

Author Comment

by:chouproute
ID: 13505433
I know I can do that but it's not really what I want.

I finally suceed my request!

all I had to do it's to add on the server option, mime properties, the extension of my file. And that's it! When i try to redirec to my file a download browser open :)


Thanks

Marco
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 14367162
PAQed with points refunded (125)

modulo
Community Support Moderator
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question