4 Replies Latest reply: Jul 12, 2013 10:58 AM by JerryGB RSS

    cffile action = "uploadAll"

    Community Help Community Member
        • 1. Re:  cffile action = "uploadAll"
          Aaron Neff CommunityMVP

          The "See also" section should probably also have a link to this doc: fileUploadAll.

          • 2. Re:  cffile action = "uploadAll"
            JerryGB Community Member

            Bug report.

             

            The Result attribute returns a Structure instead of an Array of Structures when an exception is thrown under the following condition:

             

            1. More than one file is being Uploaded.

            2. The first file uploads successfully.

            3. The second or subsequent file throws an exception; in my case the file didn't meet the acceptable mime types specified in the Accept attribute.

             

            When this occurs the Result returned is a Structure which contains the results for the last successfully processed file.

            Example: If you are uploading 6 files and sixth one throws an exception the Structure contains the results for the fifth file; the results for file 1-4 are lost.

             

            Additional info:

            If you are uploading only one file and an exception is thrown, Result is an empty Array. Good

             

            If you are uploading more than one file and an exception is thrown on the first file, Result is an empty Array. Good

             

            • 3. Re:  cffile action = "uploadAll"
              Charlie Arehart CommunityMVP

              @Jerry, note that if you really mean to be making a bug report, you want to file that at https://bugbase.adobe.com/, to ensure that Adobe sees it, it gets tracked, you'll get notified of any response, and others can vote on/watch the progress of the bug. There's no guarantee anyone from Adobe would respond to your observation here.

               

              Still, sharing the info here is indeed helpful, so other readers of the documentation page in question know of the concern. But then some people (sharing such info) would instead file a bug report and then offer here a link to its URL with perhaps just the title. Hope that's helpful.

              • 4. Re:  cffile action = "uploadAll"
                JerryGB Community Member

                @carehart, thanks for the info. I just submitted a bug report.