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

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.ScriptTimeout = 7200
Response.Buffer = False

Response.ContentType = "application/x-tar"
Response.AddHeader "Content-Disposition",
"attachment;FileName=test.tar"

Set oDL = Server.CreateObject("SoftArtisans.FileUp")
oDL.TransferFile "c:\test.tar"
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****@mailinator.com
Jul 19 '05 #1
1 3193
open the request in a new window

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"ASP Spam Fighter" <as****@mailinator.com> wrote in message
news:2b**************************@posting.google.c om...
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.ScriptTimeout = 7200
Response.Buffer = False

Response.ContentType = "application/x-tar"
Response.AddHeader "Content-Disposition",
"attachment;FileName=test.tar"

Set oDL = Server.CreateObject("SoftArtisans.FileUp")
oDL.TransferFile "c:\test.tar"
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****@mailinator.com

Jul 19 '05 #2

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

Similar topics

3
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...
2
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...
3
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...
10
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...
0
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,...
0
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: ...
7
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...
2
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,...
5
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...
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: 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
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?
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
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,...
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...

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.