• I create form for file submission. The type of the file being uploaded is rar or zip. But the message cant be sent. So what is wrong? Is the zip or rar not allowed to be uploaded in CF7?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thread Starter bangkoor

    (@bangkoor)

    In that page, it is stated that Contact Form 7 applies default restrictions for file type and file size when we do not set the filetypes: and limit: (file size) options explicitly. Default acceptable file types (extensions) are: jpg, jpeg, png, gif, pdf, doc, docx, ppt, pptx, odt, avi, ogg, m4a, mov, mp3, mp4, mpg, wav, and wmv. Default acceptable file size is 1 MB (1048576 bytes).

    So, it is not stated what filetype are allowed to be uploaded.

    • This reply was modified 9 years, 9 months ago by bangkoor.
    ktrontx

    (@ktrontx)

    I realize this post is 9 months old, but for anyone else struggling with the ability to accept zip files, I added zip to acceptable filetypes and it’s working now:

    <label> Upload a zipped file[file file-546 limit:10mb filetypes:zip|xls|xlsx|doc|docx|pdf]

    • This reply was modified 9 years ago by ktrontx.
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cant upload rar or zip’ is closed to new replies.