1 Reply Latest reply on Sep 9, 2004 3:26 AM by chamcha

    commons-fileupload question

    chasetec

      I'm working on some stuff to enable the streaming of large downloads from a database to a user through a servlet and I think I've gotten everything planned out except for the upload part.

      First of all, I'm talking about large files(ignoring for a minute that http isn't the best way to upload files). If anyone know how the apache commons fileupload works could you tell me how large uploads are handled?

      Is there a size limit?

      Is the entire upload stored in memory until fully uploaded?

      Thanks.

        • 1. Re: commons-fileupload question
          chamcha

           

          "chasetec" wrote:
          Is there a size limit?

          yes, but you can set it as large as you want.

          "chasetec" wrote:
          Is the entire upload stored in memory until fully uploaded?

          only if you want. In fact, you can set a threshold for the memory buffer. Files greater than threshold limit are hold in temporary files.