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

Redirecting to a large binary file

Hi, what's the correct way to redirect to a large binary file? I have a
simple database that holds a list of names and URLs. The URLs are of large
mp3s (around 80-100mb). I take the name as a query string parameter, find
it in the db and redirect to the URL using Response.Redirect(url, true).
However people are reporting that the server keeps resetting the response.

I assume this is because of some page timeout or I'm not setting the headers
correctly, but I'm struggling to find useful information on this subject.

Any clues?

Regards,

Paul L
Nov 19 '05 #1
2 1257
Is there a specific error they are receiving? Can you redirect to small
files? Does this happen consistently or intermittently?

"Paul L" <no****@nospam.com> wrote in message
news:us**************@TK2MSFTNGP09.phx.gbl...
Hi, what's the correct way to redirect to a large binary file? I have a
simple database that holds a list of names and URLs. The URLs are of
large
mp3s (around 80-100mb). I take the name as a query string parameter, find
it in the db and redirect to the URL using Response.Redirect(url, true).
However people are reporting that the server keeps resetting the response.

I assume this is because of some page timeout or I'm not setting the
headers
correctly, but I'm struggling to find useful information on this subject.

Any clues?

Regards,

Paul L

Nov 19 '05 #2
The specific error message is in a pop-up error dialog with IE, and is:
"Connection with the server has been reset". I can redirect to small files,
and it happens every time by the looks of it.

If I attempt to just download using the raw link, and paste it into the
browser's address box it downloads fine. So it must be to do with some
time-out issue. I assume if a page takes a certain amount of time to
download the server or client will just give up and cut the connection?
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:#L**************@tk2msftngp13.phx.gbl...
Is there a specific error they are receiving? Can you redirect to small
files? Does this happen consistently or intermittently?

Nov 19 '05 #3

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

Similar topics

6
by: guillaume | last post by:
I have to read and process a large ASCII file containing a mesh : a list of points and triangles. The file is 100 MBytes. I first tried to do it in memory but I think I am running out of memory...
11
by: CSN | last post by:
Is it possible to iterate over an array in plpgsql? Something like: function insert_stuff (rel_ids int) .... foreach rel_ids as id insert into table (rel_id, val) values (id, 5);
3
by: Tim Marsden | last post by:
Hi, I would like to redirect my browser to a Network file (not on the Web Server), whrn a button is clicked. For example a Excel workbook. I would like options to open it in Excel, in the...
5
by: kids_pro | last post by:
Hi, How does File.Move implmented? I am like to use it a lot but when I come a cross a large file >500 MB my UI is freezed. I think about implement my own fileMove function but I am not sure...
2
by: twawsico | last post by:
I have a piece of code that needs to read the contents of a binary file (that I've created with another app) into an array of structures. The binary data in the file represents just a series of...
2
by: gauravkhanna | last post by:
Hi All I need some help for the below problem: Scenario We need to send large binary files (audio file of about 10 MB or so) from the client machine (.Net Windows based application, located...
8
by: Morpheus | last post by:
I am trying to test a function that outputs text to the standard output, presumably using a cout call. I do not have access to the source, but need to test the output. Is this possible? I can...
13
by: liujiaping | last post by:
Hi, all. I have a dictionary-like file which has the following format: first 4 column 7 is 9 a 23 word 134 .... Every line has two columns....
3
by: sebastian.harko | last post by:
Helllo, What's the general accepted strategy for dealing with very large binary files in C# ? I have to do a program that reads some "multi frame bitmap " files which can reach up to one...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.