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

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******@compudude.com> wrote in message
news:Wz*****************@newsread2.news.atl.earthl ink.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.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,

Nov 17 '05 #1
0 1038

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

Similar topics

1
by: Jason | last post by:
Could anyone please give me a hand converting this script, written for IE to work with netscape? _________________________________ ______________________________________ <!-- var...
7
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...
14
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...
2
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. .................
0
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...
4
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...
0
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...
1
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...
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: 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
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...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.