Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > IE's default for Save As Type incorrect

Reply
Thread Tools

IE's default for Save As Type incorrect

 
 
nbaxley
Guest
Posts: n/a
 
      07-06-2004
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
 
Reply With Quote
 
 
 
 
Aaron [SQL Server MVP]
Guest
Posts: n/a
 
      07-06-2004
> 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.)


 
Reply With Quote
 
 
 
 
nbaxley
Guest
Posts: n/a
 
      07-08-2004
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]" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> > 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

 
Reply With Quote
 
Aaron [SQL Server MVP]
Guest
Posts: n/a
 
      07-08-2004
> 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio Incorrect Syntax Near The Keyword Default Information JMUApache ASP .Net 2 09-04-2005 12:41 PM
tomcat 4.x : setting mime type for a directory or setting a default mime type CJ Java 1 10-29-2004 07:51 PM
Default Save as type and filename Kit Truong ASP General 2 05-26-2004 07:37 PM
Re: Type casting- a larger type to a smaller type heyo C Programming 3 04-01-2004 06:35 PM
Default type-value for template parameter type Ragnar C++ 2 09-04-2003 09:05 AM



Advertisments