473,520 Members | 2,786 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Netscape Appending .aspx to downloads

Hey there,

I have a download page which I (finally) got to work ok with IE. But, when
downloading in Netscape, it appends ".aspx" to the filename. Below is the
code from the Form_Load event of download.aspx:

Response.Clear()
Response.ContentType = "application/octet-stream"
Response.AddHeader("Content-Disposition", "attachment;
filename=""myfile.tab""")
Response.Write(S)
Response.End()

When linking to the page in Netscape 7, the save dialog appears, but the
default filename is now "myfile.tab.aspx", and the type is "*.aspx".
Originally, I had the ContentType set to text/plain, which also worked ok in
IE, but it simply opened in the netscape's browser window. The
octect-stream type set above was my first attempt to fix the problem.

Any thoughts on how to properly set the mime type to Netscape will download
a tab file without the extra aspx extension?

Thanks,

Jeff
Nov 17 '05 #1
0 1136

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

Similar topics

1
1200
by: Dave Uphoff | last post by:
I noticed that when I process my aspx web pages in Netscape that the page is not interpreted correctly. Text boxes that are supposed to have no border, have borders, the font for arial is one size larger than what it is supposed to be, etc. Doe Netscape plan to fully support the Net Framework system Dave Uphoff
1
1545
by: Jason | last post by:
Could anyone please give me a hand converting this script, written for IE to work with netscape? _________________________________ ______________________________________ <!-- var footerDistFromTop
1
1666
by: The Pistoleer | last post by:
I have an inconsistent problem with some Internet pages when using Netscape (7.1) that I cannot reproduce with IE nor locally. Below is an example link. There are several tables on the pages. The tables at the top containing small images are working correctly. The tables below that contain product descriptions and input to purchase an...
2
1219
by: WL Yang | last post by:
Hi all, I am green in javascripts, and facing one problem during waiting web page. I want to display an image dynamitically in the page and use the sentences below. .............. .............. <script language="javascript"> if (document.layers) {
3
4652
by: Don | last post by:
I can successfully force submission of a <form> using "document.formname.submit()". But, the submission doesn't appear to occur when used with Netscape. Anybody know why this is happening, and what I can do to get around this? Thanks, Don -----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------...
0
269
by: Jeff Cooper | last post by:
Hey there, I have a download page which I (finally) got to work ok with IE. But, when downloading in Netscape, it appends ".aspx" to the filename. Below is the code from the Form_Load event of download.aspx: Response.Clear() Response.ContentType = "application/octet-stream" Response.AddHeader("Content-Disposition", "attachment;...
0
1047
by: Steve E. | last post by:
Hello, Similar to the post below, can you advise what I can do so "aspx" isn't appended when saving a file in Netscape 7? Big thanks in advance for tolerating a Netscape-related question - I'm posting here as I'm all Microsoft in terms of platform and development, and am hopeful someone in this group who does cross-browser compatible...
6
1904
by: qqq | last post by:
I'm a relative newbie... I'd like my site to support Netscape browsers. For a page I set 'TargetSchema' to 'IE 3.02/Netscape 3'. When I insert label or textbox web controls on the page, they appear with no size/color/border attributes etc. when viewed in Netscape. They appear just fine in IE. Can someone please explain? Thanks - Paul.
13
2369
by: Shwetabh | last post by:
Hi, I wanted to know if it is possible to do to append two tables into a third table. For example, consider these two tables Table 1 -------------------------------------------------------------- | Part_num | Prt_name | Desc1 | Desc2 | -------------------------------------------------------------- | PRT1 | PartA | abc ...
4
1828
by: Nathan Sokalski | last post by:
I was testing out a page of mine that displays the information from Page.Request.Browser. It works exactly as I expected in Internet Explorer and Netscape 4.75 (I didn't expect much in Netscape 4.75, but I got some stuff). However, Netscape 7.1 gave me some strange stuff, including the following: 1. It gave the Version as 5.0 rather than...
0
7304
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7204
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7439
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7602
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7164
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7560
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
3282
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3280
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
506
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.