Opened 17 years ago

Closed 8 years ago

#841 closed task (fixed)

Investigate BASE support for uploading files >2GB

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 3.9
Component: web Version:
Keywords: Cc:


A question about file upload of files > 2GB was recently asked on the mailing list:

It appears that most browsers doesn't support files > 2GB, but I think BASE may also have problems with it. There are no such limitations in the HTTP protocol. The potential problems with BASE are:

  • Reading content-size as an int. May be better to parse the header with Long.parseLong
  • Content-size is an optional header. BASE should support it with a modified progress reporter: Uploaded 15MB of unknown

Change History (5)

comment:1 by Johan Enell, 17 years ago

Milestone: BASE 2.x+

comment:2 by Nicklas Nordborg, 8 years ago

Milestone: BASE Future ReleaseBASE 3.9
Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

See #2007. It might be worth checking this again.

comment:3 by Nicklas Nordborg, 8 years ago

There are no problems with Firefox any longer. I have successfully tested with a 10GB file.

IE (and Edge) is limited to 4GB. See This article mentions that larger files should be uploaded in chunks with the HTML5 FileAPI. Don't know if this is something that is worth doing right now. I guess it depends on how much work is required.

comment:4 by Nicklas Nordborg, 8 years ago

(In [7160]) References #841: Investigate BASE support for uploading files >2GB

Using the ServletRequest.getContentLengthLong() method for getting the file size seems to solve the problem with Firefox.

comment:5 by Nicklas Nordborg, 8 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.