473,782 Members | 2,494 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to browse website while downloading a file using a component

Hello all,

I don't know how to get around this one... If anybody can help me
with this problem, I would appreciate it very much.

I've been trying to send a (large) file to the browser via a download
page that uses a file download component. The file downloads fine,
except that Internet Explorer refuses to browse to a different page
while the file is downloading! I don't understand why it does that
and I don't know how to fix this problem.

Any idea?

I know that MSIE can accept only two download streams at a time, but I
can assure you that it's doing only one thing: downloading a file.

Here's a working version of the download script:

<%
Server.ScriptTi meout = 7200
Response.Buffer = False

Response.Conten tType = "applicatio n/x-tar"
Response.AddHea der "Content-Disposition",
"attachment;Fil eName=test.tar"

Set oDL = Server.CreateOb ject("SoftArtis ans.FileUp")
oDL.TransferFil e "c:\test.ta r"
Set oDL = Nothing
%>

Here's more info:

- I'm working under ASP 3.0.
- I've tested this script both with aspSmartUpload and AspFileUp
components and the problem remains the same.
- This problem only seems to occur with Internet Explorer (many
versions, different computers) -- mozilla works fine.
- Since I need to authentify users **under ASP** before accepting the
download, I cannot point directly to the download file instead of
using the download component. (I would also prefer not having to copy
this file to a temporary location where the users can download it and
delete it afterwards.)
I hope somebody here can help me with this problem.

Thanks in advance!

- Stephane

Reply here or to as****@mailinat or.com
Jul 19 '05 #1
1 3230
open the request in a new window

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"ASP Spam Fighter" <as****@mailina tor.com> wrote in message
news:2b******** *************** ***@posting.goo gle.com...
Hello all,

I don't know how to get around this one... If anybody can help me
with this problem, I would appreciate it very much.

I've been trying to send a (large) file to the browser via a download
page that uses a file download component. The file downloads fine,
except that Internet Explorer refuses to browse to a different page
while the file is downloading! I don't understand why it does that
and I don't know how to fix this problem.

Any idea?

I know that MSIE can accept only two download streams at a time, but I
can assure you that it's doing only one thing: downloading a file.

Here's a working version of the download script:

<%
Server.ScriptTi meout = 7200
Response.Buffer = False

Response.Conten tType = "applicatio n/x-tar"
Response.AddHea der "Content-Disposition",
"attachment;Fil eName=test.tar"

Set oDL = Server.CreateOb ject("SoftArtis ans.FileUp")
oDL.TransferFil e "c:\test.ta r"
Set oDL = Nothing
%>

Here's more info:

- I'm working under ASP 3.0.
- I've tested this script both with aspSmartUpload and AspFileUp
components and the problem remains the same.
- This problem only seems to occur with Internet Explorer (many
versions, different computers) -- mozilla works fine.
- Since I need to authentify users **under ASP** before accepting the
download, I cannot point directly to the download file instead of
using the download component. (I would also prefer not having to copy
this file to a temporary location where the users can download it and
delete it afterwards.)
I hope somebody here can help me with this problem.

Thanks in advance!

- Stephane

Reply here or to as****@mailinat or.com

Jul 19 '05 #2

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

Similar topics

3
1843
by: ASP Spam Fighter | last post by:
Curt_C Wrote: > open the request in a new window That would work fine for me, but I'm writing this script for people who believe that we must assume total and utter user stupidity. Since this trick only seems to work manually using a right click->open in new window and never automatically (using a target attribute or a javascript event), this may be too much of a mind stretch for this priviledged class of users.
2
6408
by: Carlos G Benevides | last post by:
I have a ASP.Net web application that has two assemblies that run under com+. Under Windows 2000 the two assemblies are added to com+ automatically when instantiated from the web site. For this to happen we had to change the context in which asp.net runs from machine to SYSTEM by modifying the machine.config file. Under Windows 2003 no matter how asp.net is set to run as either machine or system. I get the following error: ...
3
6542
by: RichG | last post by:
I have a new computer that has a new instalation of XP Pro then a new install of XP Office then a new XP SP2 install. I just downloaded EN_VS.NET_ENT_DEV_FULL.exe into c:\Temp and extracted it into c:\Temp\Setup. The first time I I double clicked SETUP.EXE in c:\Temp\Setup, I got the Visual Studio.NET Setup Window. I selected One then it asked if I wanted to install IIS. I elected to do that, then when the browser window came up I...
10
1592
by: Don Wash | last post by:
Hi! I'm pretty frustrated learning ASP.NET. I'm learning ASP.NET by downloading samples from various ASP.NET websites and none of the samples worked so far. The SAME error was shown whenever I browse and ASP.NET sample, which is... So I'm getting 'Could not load type <<Class Name>>' error for any ASP.NET
0
1783
by: Yogesh Pancholi | last post by:
For some unexplained reason, I am suddenly unable to browse to a virtual directory on my laptop. I have a number of sample websites to which I could happliy browse up until last week. As of Monday, if I browse to any of the sites, I get an HttpException saying "The directory does not exist or is not accessible because of security settings." I honestly have not changed anything at all. I have checked and re-checked that ASPNET indeed has...
0
1684
by: Marc Speed | last post by:
I have a windows server 2003 machine that cannot run any aspx pages. The pages are created on my XP machine and run fine on two other servers but this server keeps giving me the following error: Compiler Error Message: BC31019: Unable to write to output file 'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\xxxxnet\eb34155e\10c7e9e7\hw1yiyhj.dll': The directory name is invalid. I have tried rebooting, restarting...
7
1717
by: clintonG | last post by:
I'm puzzled and don't think this is possible but if an application that is running on websiteA generates a file can FTP be used from websiteA to transfer that file to websiteB which would be located on another server? -- <%= Clinton Gallagher NET csgallagher AT metromilwaukee.com URL http://www.metromilwaukee.com/clintongallagher/
2
3002
by: anToNIcHeN | last post by:
Hi All, I am getting this frustating error message when i try to open my project using VS.NET 2003. OS: Windows 2003 Standard Edition with SP2 S.W Installed : VS.NET 2003, VS.NET 2005, Sharepoint Portal Server 2003. In my IIS, I have created a website under port 111. And i have created a virtual site under the website and correctly pointed out the path to
5
3010
by: daveh551 | last post by:
What, from a high level point of view, is the difference (in Visual Studio 2005) between Website (accessed with Open Website or Create Website from the StartPage) that is an ASP.NET Website, and a Project that is created with the "ASP.NET Application" template? I see some obvious differences: the Project creates the working folder under the Visual Studio 2005\Projects directory, while the Website creates it in the Inetpub\wwwroot...
0
9639
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
9479
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10311
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
9942
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...
1
7492
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6733
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
5509
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4043
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2874
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.