473,395 Members | 2,222 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,395 software developers and data experts.

IE's default for Save As Type incorrect

I'm using a binary stream to send down a file with ASP from the web
server. I've been having trouble with IE and getting it to recognize
my file. I've added the filename as a paramater(?filename=file.jpgw)
to handle IE's mime type mangling, but I'm still having trouble with
IE's default Save As Type being HTML. When we send down a jpgw
(geo-jpeg) file IE wants to save it as an HTML file. I've got the
correct filename showing in the Filename box, and if I choose the All
Files option from the Save As Type drop down then the file is saved
with the correct extension. I'd like to have the All Files option
choosen by default. I know it's just a couple of clicks but we have
some noivce users that can't seem to get that.

Any ideas?
Nate Baxley
Jul 19 '05 #1
3 1663
> I've added the filename as a paramater(?filename=file.jpgw)

Added the filename as a parameter to what?

http://www.aspfaq.com/2161
http://www.aspfaq.com/2129

--
http://www.aspfaq.com/
(Reverse address to reply.)
Jul 19 '05 #2
Sorry about that I've added the filename as a parameter to the script
(page.asp?file=image.jpgw) in order to get IE to look at the correct
extension instead of just the mime-type. I looked at both of the
articles you linked to and they don't address the main problem I'm
having which is getting the "Save As Type" drop down in the "Save As"
box to show the option that I want, which is All Types or anything
that will keep IE from adding an extension to my filename.

Thanks for the links,
Nate Baxley

"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message news:<ux*************@TK2MSFTNGP11.phx.gbl>...
I've added the filename as a paramater(?filename=file.jpgw)


Added the filename as a parameter to what?

http://www.aspfaq.com/2161
http://www.aspfaq.com/2129

Jul 19 '05 #3
> articles you linked to and they don't address the main problem I'm
having which is getting the "Save As Type" drop down in the "Save As"
box to show the option that I want, which is All Types or anything
that will keep IE from adding an extension to my filename.


Sorry, you can't control this client-side behavior, and you certainly can't
do it from ASP.
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: microsoft | last post by:
Hi, I have an ASP script that initiates a ADODB.Stream like below first bit gets filename from the database strAbsFile = getfilefromDB(request.querystring("fileid")) '-- create FSO object...
6
by: Duane Lambe | last post by:
I'll start out by saying that I've been looking for a definitive answer for a few hours now, and need opinions on this one. I have a site I've been starting for our internal helpdesk joint....
2
by: gnv | last post by:
Hi all, I am writing a cross-browser(i.e. 6 and netscape 7.1) javascript program to save an XML file to local file system. I have an xml string like below: var xmlStr = "<?xml version="1.0"...
6
by: J.A.Rank | last post by:
Hello all. I wrote a client-side form evaluation script that runs as expected in Firefox, Netscape, and IE for PC, but fails in IE for Mac. The formEval() method is called from the onSubmit...
23
by: Gustaf | last post by:
I just read this article from today: http://webstandards.org/buzz/archive/2005_09.html I need some help understanding this sentense: The W3C recommends XHTML 1.1 should be served with the...
7
by: Winston | last post by:
Hi, I want to use the Webbrowser Control (the Internet Explorer Control) to display an XML-structure within a C# WinForm. The way the IE displays a XML-file in its native form is exactly what I...
2
by: Jonathan Trevor | last post by:
Hi, For the last couple of releases of a product we're developing we've been running to very wierd behavior from IE and our ASP.NET web application which serves up various types of files and I'm...
0
by: purpleflash | last post by:
Hi Folks Has anyone solved the problem of opening a snapshot file from a hyperlink held in a datqabase field on a web page? I can open ".pdf's", ".rtf's", ".txt" files however if I try to open...
3
by: timothy | last post by:
My web application pushes an extemporaneous PDF file out to a web page. It adds a 'Content-type: application/pdf' header to the HTTP headers, but the web server automatically adds a 'Content-type:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.