Home Support Site Search Faq Register Login  
FileUp
Re: Chrome error with 35G Download

Thread Starter: jmcreek   Started: 10-23-2013 8:11 PM   Replies: 3
  23 Oct 2013, 8:11 PM
jmcreek is not online. Last active: 1/14/2014 3:04:55 PM jmcreek

Top 10 Posts
Joined on 10-24-2013
Posts 4
Chrome error with 35G Download
My user wants to allow download of a 35G zip. IE plays nice, but Chrome throws " ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH" error. No previous problems for years with FileUp v5.3.2 Std, though he hadn't tried anything over 2G. My VB.NET code:

Dim fileInf As FileInfo = New FileInfo(filePath)
Response.AddHeader("Content-Length", CStr(fileInf.Length))
Response.ContentType = "application/x-msdownload"
Response.AddHeader("Content-Disposition", "attachment;filename=""" & fileName & """")

I don't know why I chose that ContentType; the app allows download of many file types. Any suggestions?

  
  18 Nov 2013, 9:49 PM
Joy_M is not online. Last active: 6/3/2014 2:57:00 PM Joy_M

Top 10 Posts
Joined on 12-15-2004
Posts 579

SoftArtisans Technical Services

Support team
Re: Chrome error with 35G Download
Not sure how well Chrome handles downloads over 2 GB in general.

Do smaller downloads work from that browser?

How are you actually performing the download? Your code just shows how you set the headers. I you are using FileUp's TransferFile method, it may set the content-length header for you, in which case you wouldn't need to set the content-length header explicitly.

- Joy

  
  07 Jan 2014, 4:28 PM
jmcreek is not online. Last active: 1/14/2014 3:04:55 PM jmcreek

Top 10 Posts
Joined on 10-24-2013
Posts 4
Re: Chrome error with 35G Download
Bingo, thanks Joy. I am indeed using the FileUp.TransferFile method, and was adding an unnecessary/duplicate Content-Length header. All works well now. John
  
  10 Jan 2014, 10:41 AM
jmcreek is not online. Last active: 1/14/2014 3:04:55 PM jmcreek

Top 10 Posts
Joined on 10-24-2013
Posts 4
Re: Chrome error with 35G Download
 jmcreek wrote:
Bingo, thanks Joy. I am indeed using the FileUp.TransferFile method, and was adding an unnecessary/duplicate Content-Length header. All works well now. John


Premature jubilation--now IE11 won't download large files. I'll start a new thread with a better initial statement.

  
 Page 1 of 1 (4 items)
SoftArtisans Forums » SoftArtisans Products » FileUp » Re: Chrome error with 35G Download