473,375 Members | 1,299 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,375 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 3191
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...
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
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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...

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.