Forums

Problem with uploads (all uploads exceed allowed limit)

altoidboy 22 Apr, 2009
CF 3.0.

I'm setting up a form that includes a file upload field, however, with every test I try, it's giving me the "Sorry, your uploaded file size exceeds the allowed limits" even when it doesn't.

My code in the back end is this:

file_13:jpg,jpeg,gif,png,bmp,tga,zip,txt,rtf,pdf{2000-0}


I think I've done this correctly -- this should allow any file from 0k to 2MB, right?

I did add this to form tag attachment:

enctype='multipart/form-data'


The upload field looks like this in the Form HTML:

    <div class="form_element cf_fileupload">
      <label class="cf_label">File Upload</label><input class="cf_inputbox"
      size="20" id="file_13" name="file_13" type="file" />
    </div>


What else could I be missing?
GreyHead 23 Apr, 2009
Hi altoidboy,

Please check the help on the File Uploads tab - your syntax is wrong.

Bob
altoidboy 24 Apr, 2009
Oh, I see. Looks like I should have been using a pipe | instead of a comma between file types?

Took quite a while to find the specific help files that spelled this out, but thank you for the direction.
GreyHead 24 Apr, 2009
Hi altoidboy,

Hmmm . . . there's this example in bold red type, repeated on the Tooltip, I'm not sure what else Max could do?

Bob
This topic is locked and no more replies can be posted.