473,394 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

File Download Dialogue Box

I want ot open a File download dialogue box before open a downloadable file. Please help me.
Aug 20 '07 #1
4 2072
acoder
16,027 Expert Mod 8TB
Welcome to TSDN!

Please explain what you mean. Can you give an example.

Do you want to prevent automatic downloads?
Aug 20 '07 #2
epots9
1,351 Expert 1GB
I want ot open a File download dialogue box before open a downloadable file. Please help me.
do you mean: when someone clicks a link that directs the browser to an image, you would like the download dialog to appear instead of the browser loading the image?
Aug 20 '07 #3
aktar
105 100+
do you mean: when someone clicks a link that directs the browser to an image, you would like the download dialog to appear instead of the browser loading the image?

yes yes yes that what I want :D

please dont say its gotta be a js
Nov 11 '07 #4
acoder
16,027 Expert Mod 8TB
aktar, that probably wouldn't be possible even if you tried to force a download using headers in your server-side language.

There's an IE-only way using execCommand("saveAs"...), but the easiest solution is to put the image in a zip file and the browser will popup a file download dialog box to open/download the file.
Nov 12 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Stu | last post by:
Downloaded the sendMail.htm and sendMail.asp sample files from technet onto my IIS 4.0 server. The first 2-3 times I tested all went well. Subsequent tests, with no server changes, gave/gives me...
3
by: Gary O'Malley | last post by:
Everytime I download a file from the web I get a nice animated dialogue box that shows the size of the file, how much has been received and the approximate remaining time. It also gives the...
5
by: kevin | last post by:
Hi, Any help with this would be really appreciated! I'm trying to download a file from a remote server. The access permissions is okay but the problem I'm facing is that the file is getting...
5
by: Mr Gordonz | last post by:
Hi all, I want to put a button on a page, and when the user clicks it, the standard Windows "Open File" dialogue box opens, and the user can browse/select a file on their PC. Having selected a...
1
by: Keith | last post by:
I have a minor problem with a piece of code I have written to download a CSV file in an ASP.NET application. It works fine except that if the user presses the Open button on the IE6 download...
1
by: Poppy | last post by:
I have a web page which accepts a parameter called myFile which contains the location of a file I wish to download. How can I get a dialogue box to appear allowing the user to choose where they...
0
by: ben | last post by:
The "Download file" dialogue prompts the user twice if Open is pressed when using Content-Disposition 'attachment' if, and only if, the script was submitted from a form. If Save As is pressed you...
0
by: Rhys666 | last post by:
Basically I have a link that opens my download page and the querystring identifies the type of 'template' Excel spreadsheet has asked to download. The download page reads the querystring,...
11
by: Hendri Adriaens | last post by:
Hi, I use the following code to offer a download: header("Content-Type:$mimetype"); header("Content-Disposition: attachment; filename=$filename");...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.