469,283 Members | 2,228 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,283 developers. It's quick & easy.

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 5709
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Pedro Fonseca | last post: by
4 posts views Thread by Kevin Muenzler, WB5RUE | last post: by
reply views Thread by Mark | last post: by
13 posts views Thread by ron1972 | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.