473,770 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

file download probs

jim
I'm trying to find the best way to allow web visitors to download text
files (.txt, .wri & .zap file extensions).
I'm having some luck. I say some because the open/save box opens with IE
but not Netscape. On Netscape rather than give the user the save option
it simply displays the file. I also see problems on the mac platform -
no save box - it displays the file as in netscape.
Is there a universally accepted way of doing this sort of activity? Must
I write a program?
I will appreciate any help on this.
Jim

Jul 20 '05 #1
2 2278
jim wrote:
I'm trying to find the best way to allow web visitors to download text
files (.txt, .wri & .zap file extensions).
The user decides what to do with files by setting options in her/his
browser. This includes txt files.
I'm having some luck. I say some because the open/save box opens with IE
but not Netscape. On Netscape rather than give the user the save option
it simply displays the file. I also see problems on the mac platform -
no save box - it displays the file as in netscape.
And then the user can save the file by the usual means (control-s, or
Menu -> File -> Save).
Is there a universally accepted way of doing this sort of activity? Must
I write a program


What sort of program did you have in mind? Your own browser?

--
Brian
follow the directions in my address to email me

Jul 20 '05 #2
In article <bj**********@s tingray.cca-int.com> in
comp.infosystem s.www.authoring.html, jim <jim
<""jmarnell\"@N 0$PAM.com>> wrote:
I'm trying to find the best way to allow web visitors to download text
files (.txt, .wri & .zap file extensions).
I'm having some luck. I say some because the open/save box opens with IE
but not Netscape.


Two possibilities:

(1) User has set up the to browsers with different options for those
file types.

(2) Server is not correctly configured, and MSIE guesses at the file
type but NN (correctly) does not.

If only you told us the URL ...

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #3

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

Similar topics

6
349
by: Vishal | last post by:
Hello, I am creating an html file in my web form. After the file has been created I want the user to show the messagebox to download this file. Once he has downloaded or canceled the file, then I will delete it. Now my problem is how do I show the messagebox, you know when you download an exe you get the download messagebox. Thanks
9
2050
by: Dadio | last post by:
Hi! I have to take some strings from a file and put them in a record... The various strings in the file are written on this way: string1|string2|string3|string4|string5| This is the program that i have just made...what's wrong? #include<stdio.h> #include<conio.h> #include<string.h>
1
1969
by: ckarbass | last post by:
I'd like for the file download dialog to be launched upon page load. The workflow or behavior is exactly the same as sourceforge's. I've searched on google to no avail. Any help would be appreciated. Thanks.
4
6916
by: Vlad | last post by:
I am having problems using the file.create method within a function that is called when looping through an array of filepaths. If I call my function with a hardcoded file path --C:\Temp.txt the function creates the file as expected. When I loop through my array I get the error - "ArgumentException was unhandled - Illegal characters in path" The value "C:\Temp.txt" is the first value in the array - as it works
0
9619
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
10260
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
10102
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...
0
9910
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
6712
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.