473,766 Members | 2,044 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Prevent Netscape from appending .aspx during FileSave?

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 sites has
solved this...

Steve E.
"Jeff Cooper" <js******@compu dude.com> wrote in message
news:Wz******** *********@newsr ead2.news.atl.e arthlink.net...
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.Conten tType = "applicatio n/octet-stream"
Response.AddHea der("Content-Disposition", "attachment ;
filename=""myfi le.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.asp x", 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,

Nov 17 '05 #1
0 1072

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

Similar topics

1
1562
by: Jason | last post by:
Could anyone please give me a hand converting this script, written for IE to work with netscape? _________________________________ ______________________________________ <!-- var footerDistFromTop
7
6458
by: Cues Plus | last post by:
Hello, I have a simple form text area for people to add comments in. The problem is that using the standard <TEXT AREA NAME="comments" ROWS=4 COLS=35></TEXT AREA> Allows people to put in quotes like: Please ensure "bob" is listed as the first name not "bobby". When that happens, the next processing of the text area input is submitted
14
5378
by: Ludwig77 | last post by:
I read that there are some tags that can be entered in a web page's meta tags in order to prevent web bot searching and indexing of the web page for search engines. What is the tagging that I would need to use?
2
1239
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) {
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; filename=""myfile.tab""")
4
1837
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 7.1, and the Type as Netscape5 2. ASP.NET did not send any CSS other than the constant part that I...
0
1313
by: John Hunter | last post by:
The following behavior surprised me. I have a Tk window and launch a file save dialog from it. When the filesave dialog is finished, it calls callbacks bound to the destroy event on the main window. Is this expected, and can I avoid this? To expose the problem, run this script and click the mouse button over the application window. When the file save dialog is through, the function "callback" is called, which I did not expect because...
1
1430
by: The Mad Ape | last post by:
Hello I have a FileSave Dialog and am trying to pass the current folder name to a string. Is there any way to do that? It was easy to get the file path and name using .FileName but I see nothing to get the Folder. Thanks The Mad Ape
0
9568
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10168
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10008
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9959
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9837
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8833
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3929
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.