Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How to open a download window by programming?

Posted on 2005-03-07
Medium Priority
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.


Question by:chouproute
LVL 33

Expert Comment

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>

Author Comment

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 :)



Accepted Solution

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

Community Support Moderator

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

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

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

572 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