473,383 Members | 1,846 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,383 software developers and data experts.

Download instead of open file

Hi,

I'm pretty new to javascript and haven't been able to find the solution to
this. I have built a web site for my team, and linked to an excel workbook
that has several special functions that do not work when opened from the web
server. I would like to set up the link to this work book so it initiates a
save operation instead of opening the workbook directly. Is this possible?

Thanks in advance,

John
Apr 27 '06 #1
5 5792
VK

John Murray wrote:
Hi,

I'm pretty new to javascript and haven't been able to find the solution to
this. I have built a web site for my team, and linked to an excel workbook
that has several special functions that do not work when opened from the web
server. I would like to set up the link to this work book so it initiates a
save operation instead of opening the workbook directly. Is this possible?


<http://www.jibbering.com/faq/#FAQ4_33>

Also you can send Content-Type:application/octet-stream header from
your server.

The simpliest way would be to zip your files (archives will be proposed
to Save As).

No, you cannot do it client side.

Apr 27 '06 #2
brk
It is possible to show the download dialog box..
Follow the steps
Open Windows Explorer
Go to Tools -> Folder Options -> File Types (tab)..
Select XLS. type
Click on advanced. Check 'Confirm open after download..

Apr 28 '06 #3
Thank you both!

John

"brk" <br*******@gmail.com> wrote in message
news:11**********************@g10g2000cwb.googlegr oups.com...
It is possible to show the download dialog box..
Follow the steps
Open Windows Explorer
Go to Tools -> Folder Options -> File Types (tab)..
Select XLS. type
Click on advanced. Check 'Confirm open after download..

Apr 28 '06 #4
brk wrote:
It is possible to show the download dialog box..
Follow the steps
Open Windows Explorer
Sorry, no "Windows" or "Explorer" here.
Go to Tools -> Folder Options -> File Types (tab)..
Sorry, no "Folder Options" in the "Tools" menu here.
Select XLS. type
Click on advanced. Check 'Confirm open after download..


Sorry, it is just not there. And if I change to
Windows, the setting does not have any effect.

Must be because I am not using Internet Exploder.
PointedEars, amused
Apr 28 '06 #5
Thomas 'PointedEars' Lahn said the following on 4/28/2006 11:53 AM:
brk wrote:
It is possible to show the download dialog box..
Follow the steps
Open Windows Explorer


Sorry, no "Windows" or "Explorer" here.


Yes, we are all aware that you use a third rate browser on a third rate OS.
Go to Tools -> Folder Options -> File Types (tab)..


Sorry, no "Folder Options" in the "Tools" menu here.
Select XLS. type
Click on advanced. Check 'Confirm open after download..


Sorry, it is just not there. And if I change to
Windows, the setting does not have any effect.


Maybe you should learn how to use Windows, then you can complain about it.

"You, sir, are a troll, and just barely above VK in the amount of value
that you add to this newsgroup. If the word "anti-social" describes
anyone here, it would be you. Maybe you don't interact with humans in
the real world, but if you behave in real life as you do here, I don't
imagine that many people would find your company welcome. You are
judgemental, insulting, demeaning, elitist, anal retentive, combative,
and unpleasant." - Matt Kruse in comp.lang.javascript

I think that could become a common place reply to Thomas. Hmmmm

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 28 '06 #6

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

Similar topics

3
by: Aardwolf | last post by:
I've had PHP on my Win2K server running IIs 5 for about 2 weeks now. I have an annoying problem in that I can not run the php scripts/pages locally, instead they open up in the browser as a...
2
by: Pedro Fonseca | last post by:
Greetings! In my PHP website I'm trying to raise a File Download dialog directly in a WindowsCE IE client with the following code: header( "Content-Type: application/octet-stream\n" );...
6
by: chon | last post by:
I have an ASP page that is sent a file location as a parameter. It opens this file, loads the ADODB.Stream object and does a binary write to the page forcing the download dialog to appear. This...
4
by: Kevin Muenzler, WB5RUE | last post by:
How do I force a browser to download a file instead of displaying it? In other words I have a page with MP3 and WMA files on it and I would like for the visitor to download the file instead of...
3
by: fb | last post by:
A page I created includes a piece of javascript, shown at the foot of this posting, that opens up a new browser and displays a PDF File. The servlet "previewCompetencyLevel" generates the PDF and...
0
by: Mark | last post by:
Hi - I'm using ASP.Net 1.1 with VS.Net 2003. I have a file upload/download web app - it uploads great, but my download function doesn't work for SWF files. If I type the complete path to them...
5
by: Neil Rossi | last post by:
I have an issue with a particular ASP page on two web servers. Let's call these servers Dev1 and Beta1. Both Servers are running IIS 5, Windows 2000 SP4 with "almost" all of the latest patches. ...
13
by: ron1972 | last post by:
Hi I have a large pdf file that if I create an anchor link to, the browser will try to open the file, which takes quite a long time. Is there a way to force the browser to download the file rather...
7
by: lawrence k | last post by:
I've got a music studio for a client. Their whole studio is run with Macintosh computers. Macintosh computers allow file names to have open white spaces, such as "animal hospital.mp3". I have a...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.