6 Replies Latest reply on Jun 27, 2007 8:57 AM by Jonas Erma

    Restrict file upload size individually

    Jörg Gottschlich Newbie

      Hi there,

      is there a possibility to check the size of a file when uploading with s:fileUpload? I know about the configuration directive maxRequestSize, but I have different limits in an application, depending on which files I want to upload (e.g. a foto vs. a pdf document).

      So how can I check the size of an uploaded file to reject it if necessary?

      Thanks in advance,