2 Replies Latest reply on Jul 12, 2013 11:47 AM by sarahkmul

    Restricting file size on Supercontainer

    nmorales

      Hi all,

      We are currently using Supercontainer which is linked to our website. We would like a way to limit the uploading file size. Do any of you know if this is possible?

        • 1. Re: Restricting file size on Supercontainer

          Hi Nicole,

           

          I suspect you may need to do this outside of FileMaker unless you can find a way of capturing that metadata of the image before you pass it to SuperContainer.  eg with AppleScript but you seem to be on the Windows platform.

           

          I then wondered about loading the image into a temporary container field where that data could be extracted. But the GetLayoutObjectAttribute function does not seen to have an attribute for document size.

           

          SuperContainer does, however, "know" the file size as that data can be displayed with the info command. Thus you may be able to extract that data from the WebViewer and subsequently use it to delete that offending file, and its parent folder, from the storage location.

           

          That's all I could think of.

           

          Cheers,

           

          John

          • 2. Re: Restricting file size on Supercontainer
            sarahkmul

            Hello!

             

            You can also modify the web server to limit the upload directly. If you view our documentation at:

             

            http://docs.360works.com/index.php/SuperContainer_Tips_Tricks_and_FAQ#Apache_upload_limit

             

            You'll find instructions on how to accomplish this for Apache and IIS. Please let me know if you have any further questions or need clarification on anything!

             

            Thank you,

            Sarah Mulligan

            360Works