8 Replies Latest reply on Sep 23, 2016 8:13 AM by dzhaos

    cannot upload file greater than 2 GB using cffileupload

    dzhaos

      I am able to upload 1 GB file.

      However, when I upload 2.2 GB file, it get struck at 99% progress. I don't get any error.

       

      I am running ColdFusion 11 on a Windows Server 2012 R2 machine.

       

      1. In ColdFusion code, I set the file limit to 3.2 GB.

      main cfm page:

      <cffileupload

         url="uploadFilesProcess.cfm?par1=#STORAGEDIRECTORY#"

         progressbar="true"

         BGCOLOR="##FFFFFF"

         width=500

         height=250

         maxuploadsize=3200

         title = "File Upload" />

       

      uploadFilesProcess.cfm:

      <cfset param1 = url['par1'] />

      <cffile action="uploadAll" destination="#param1#" nameconflict="overwrite" />

       

      2. In ColdFusion server setting, I set the following:

      Max number of POST request para: 3200

      Max size of post data: 3200 MB

      Request Throttle Threshold: 4 MB

      Request Throttle Memory: 3200 MB

       

      3. In Windows IIS filter setting, I set the max allowed content length (Bytes) to 3200000000.