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

Download .cub file w/client side script on Web Server 2003

I was able on an XP machine to use an HTML button with
the following client-side javascript:
onclick="window.navigate('/xxxxxx.cub')"
that would allow the client to either save the file or
open it (with Excel). When I deployed the application to
a Windows Server 2003 Web Edition web server and clicked
as before, I received error #404, file not found.
Testing with a text file, instead of the "save/open"
routine, the text file opened in the browser. This would
seem to indicate that the 'window.navigate' command is
compiling differently in the two machines. Or?

So, what to do?

Help will be much appreciated!
Nov 22 '05 #1
1 1563
I'm only guessing here, but due to the change in the way security works in
'03, I would suggest that the server is denying access to CUB files.
There's probably a setting in a .config or the properties of the web server
folder somewhere that you will need to change to allow users to download CUB
files.

Hope this helps.
Trevor Braun

"Craig Conly" <ca*****@pacbell.net> wrote in message
news:01****************************@phx.gbl...
I was able on an XP machine to use an HTML button with
the following client-side javascript:
onclick="window.navigate('/xxxxxx.cub')"
that would allow the client to either save the file or
open it (with Excel). When I deployed the application to
a Windows Server 2003 Web Edition web server and clicked
as before, I received error #404, file not found.
Testing with a text file, instead of the "save/open"
routine, the text file opened in the browser. This would
seem to indicate that the 'window.navigate' command is
compiling differently in the two machines. Or?

So, what to do?

Help will be much appreciated!

Nov 22 '05 #2

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

Similar topics

3
by: James Kirk | last post by:
The script below allows me to link to a file and as the user clicks to download, the 'File Download' windows appears as normal, and the user can download... The original page is then redirected...
2
by: duane | last post by:
Dear Experts: I am trying to measure a HTML page download time on the client side and store the value into a textfile located in the server. I have successfully measured the page download time...
3
by: BOHICA | last post by:
I would like on my page when users click one of my mp3 files for the dialog box to pop up so they can choose to save the file to disk instead of trying to open through IE, but the dang thing won't...
1
by: Craig Conly | last post by:
I was able on an XP machine to use an HTML button with the following client-side javascript: onclick="window.navigate('/xxxxxx.cub')" that would allow the client to either save the file or open...
6
by: S P Arif Sahari Wibowo | last post by:
Hi! I am thinking to have a client-side script doing processing on file downloading, basically the script will process a downloaded file from the server before it received by the user. For...
13
by: bmurphy | last post by:
Last week after much searching, I found the answer to my problem in this newsgroup. I can't find the thread from which I got my solution, but I wanted to report back what worked. When the site...
2
by: Jan Paul van de Berg | last post by:
I have a piece of software that people can download and a third party promoting that software. In order for them to be able to count the number of downloads, I have to put a tracking code on my...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
10
by: Paul | last post by:
Hi I am using the HtmlInputFile control to upload a file from a client to a server. I have a browse to find the file on the server but need to create the path dynamically as to were it will go...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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
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...

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.