Allowing different file sizes for different document types

  •  02-23-2011, 4:14 AM

    Allowing different file sizes for different document types

    Hi,
     
    I'm currently working on an uploader that allows images (.jpg, .gif, .png) and documents (.pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx, .txt, .rtf)
     
    I'd like to be able to set validation so that the max size of images files is 3 MB and document files is 10MB. 
     
    Is this possible? 
     
    Thanks, 
    Andrew
View Complete Thread