"tjfdownsouth" <tj**********@discussions.microsoft.comwrote in message
news:0E**********************************@microsof t.com...
I have a site that allows a person to log in and get a list of files to
download for them. If the file size is under 65MB then everything is
fine,
they click the download button and the save box pops up. But if the file
is
larger than 65MB the page sits and processes until it times out. I can't
figure it out becaus a 64MB file loads immediately for download while one
slightly larger hangs up.
Any assistance on this will be greatly appreciated. Tim
Is the link to the file supplied a direct URL for the file in a web folder
or is it a link to an ASP page which streams the file content to the client.
If the latter then it may be a buffer size limit. You could increase the
buffer limit but the real solution would be to code the ASP to allow the
file to be streamed properly rather than being buffered. This involves two
things: make sure Response.Buffer = False and don't use BinaryWrite to send
the whole contents of the file at once.