473,396 Members | 1,872 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.

Response.writefile (filename) ?? problem with filesize

Hi,

I am using Response.writefile to write a file into clients browser. It works
fine with files upto 60MB. When I come across a file size bigger than that,
it break with error saying page can not be displayed.

Any clue?
Nov 19 '05 #1
2 2370
Did you try a simple google search?
http://www.google.com/search?sourcei...e++Large+Files

with the second link being pretty useful:
http://support.microsoft.com/kb/812406/EN-US/

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"dotnettester" <do**********@discussions.microsoft.com> wrote in message
news:7D**********************************@microsof t.com...
Hi,

I am using Response.writefile to write a file into clients browser. It
works
fine with files upto 60MB. When I come across a file size bigger than
that,
it break with error saying page can not be displayed.

Any clue?

Nov 19 '05 #2
Thanks, and the most helpful link was this one:

http://support.microsoft.com/default...b;EN-US;821387
This method is completely undocumented in the .NET Framwork SDK yet it is the best method for tranmitting files. I
don't know why this hasn't been in cluded in the documentation.

I've read numerous posts about problems like this but none suggested using this method.
--Buddy

Karl Seguin wrote:
Did you try a simple google search?
http://www.google.com/search?sourcei...e++Large+Files

with the second link being pretty useful:
http://support.microsoft.com/kb/812406/EN-US/

Karl

Nov 19 '05 #3

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

Similar topics

2
by: David Union | last post by:
Hi. I'm posting this here because I don't know exactly what the best group is. This is for an aspx page with Visual Basic as the code-behind page. I am doing very simple code... in the middle...
1
by: oz | last post by:
private void Page_Load(object sender, System.EventArgs e) { if(!IsPostBack) { String FileName; FileInfo MyFileInfo; Long StartPos = 0, FileSize; FileName = "J:\\Summary.txt"; MyFileInfo = new...
8
by: Scott C. Reynolds | last post by:
I want to serve a PDF right to a web page (cannot link browser directly to PDF file). Stumbled across Response.WriteFile this morning. On my machine (XP Pro) this worked fine: private void...
2
by: Buddy Ackerman | last post by:
I am creating a ZIP file on the fly and streaming it out to the client using Response.WriteFile(FileName, StartPos, FileSize). Because this ZIP contains files that are on my server and I don't...
2
by: LP | last post by:
Hi, I have a reporting application that exports data to different format and sends file to the browsers with the following code: string fileName = @"" + Request.QueryString; //fileName =...
1
by: ChristopherABurns | last post by:
I have a very simple code snippet here: private void Page_Load(object sender, System.EventArgs e) { string filePath = Server.MapPath("\\Transcriber\\TranscriberTest\\"); string fileName =...
3
by: MJP | last post by:
I have a button which kicks off the generation of a report after which the file will be downloaded. The report generation can take a long time, so client side onclick event of the button also...
4
by: | last post by:
Hi all, I want to create a method that does the following: 1) Programmatically instantiate a new XmlDataSource control 2) For each file in a named directory, make a "FileSystemItem" element 3)...
1
by: Dave | last post by:
I have a small web app that publishes files to a SQL database. I just noticed this morning that 2 conditions exist that I need help with. 1.) Any file that can be open with NotePad have the...
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
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: 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
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
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...
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.