Title: Filetype Error
Last modified: August 30, 2016

---

# Filetype Error

 *  Resolved [kfranklin](https://wordpress.org/support/users/kfranklin/)
 * (@kfranklin)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/filetype-error/)
 * Hello.
 * I am experiencing issues with filetype error. I may not be using the right shortcode.
   Here are the shortcodes I am using:
    [wtf_fu id=1] [wtf_fu_upload accept_file_types
   =”doc|pdf|docx” ]
 * Please help me. Thanks
 * [https://wordpress.org/plugins/work-the-flow-file-upload/](https://wordpress.org/plugins/work-the-flow-file-upload/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [lynton_reed](https://wordpress.org/support/users/lynton_reed/)
 * (@lynton_reed)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/filetype-error/#post-6438203)
 * These look correct what are your specific issues ?
 * Please provide more details :
 * What error are you getting ?
 * Is the upload shortcode inside a workflow or directly on a page or post ?
 * Do any filetypes work ?
 *  Thread Starter [kfranklin](https://wordpress.org/support/users/kfranklin/)
 * (@kfranklin)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/filetype-error/#post-6438222)
 * I believe I tried this in a workflow and then pasted the shortcode is directly
   on a page. It looks like every file type works expect doc and docx. When I try
   to upload these two, I get the Filetype not accepted button.
 *  Plugin Author [lynton_reed](https://wordpress.org/support/users/lynton_reed/)
 * (@lynton_reed)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/filetype-error/#post-6438242)
 * I just pasted your shortcode and it worked here so it is correct.
 * Can you try a different document and see if that works.
 * Also check the default upload settings on the “File Upload” admin page tab and
   make sure you have not accidentally modified the “deny_file_types” to include
   doc files. That is the only reason I can think off that would cause this to fail.
 *  Thread Starter [kfranklin](https://wordpress.org/support/users/kfranklin/)
 * (@kfranklin)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/filetype-error/#post-6438383)
 * This is the exact short code in the “File Upload” page:
 * [wtf_fu_upload deny_public_uploads=”0″ use_public_dir=”1″ wtf_upload_dir=”wtf-
   fu_files” wtf_upload_subdir=”default” accept_file_types=”jpg|jpeg|mpg|mp3|png
   |gif|wav|ogg|doc|pdf|docx” deny_file_types=”htaccess|php|php3|php4|php5|cgi|aspx
   |asp|aspx|sh|phtml|shtml|pl|py|pyc|pyo” inline_file_types=”jpg|jpeg|mpg|mp3|png
   |gif|wav|ogg|doc|pdf|docx” image_file_types=”gif|jpg|jpeg|png|doc|pdf|docx” max_file_size
   =”5″ max_number_of_files=”10″ auto_orient=”1″ create_medium_images=”0″ medium_width
   =”800″ medium_height=”600″ thumbnail_crop=”1″ thumbnail_width=”80″ thumbnail_height
   =”80″]
 * Is there any other place I could be accidentally denying this file type? Is the
   default not overriding the workflow?
 *  Plugin Author [lynton_reed](https://wordpress.org/support/users/lynton_reed/)
 * (@lynton_reed)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/filetype-error/#post-6438385)
 * These are the default and I think the problem may be that you have set up doc
   docx and pdf as image file types and inline_file_types, so the failure is pobably
   due to the backend trying to create image thumbnails for non image files.
 * accept_file_types=”jpg|jpeg|mpg|mp3|png|gif|wav|ogg|doc|pdf|docx”
 * this is ok, and means that doc pdf and docx are acceptable by default and you
   will not need to add them as attributes in your shortcode.
 * Alternatively you could take them out of here and put them in the shortcode when
   required like in the one you posted here. (this is the preferred way as it is
   then clear at the point of usage).
 * These two should be put back to their defaults without the |doc|pdf|docx
    These
   are most likely causing your issue.
 * inline_file_types=”jpg|jpeg|mpg|mp3|png|gif|wav|ogg|doc|pdf|docx” image_file_types
   =”gif|jpg|jpeg|png|doc|pdf|docx”
 * Let me know if that works.
 *  Thread Starter [kfranklin](https://wordpress.org/support/users/kfranklin/)
 * (@kfranklin)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/filetype-error/#post-6438418)
 * It may be a combination of two things. That what you put above. I also realized
   that my workflow wasn’t coded in accordance with the default. Thanks you lead
   me in the right direction.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Filetype Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/work-the-flow-file-upload.svg)
 * [Work The Flow File Upload](https://wordpress.org/plugins/work-the-flow-file-upload/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/work-the-flow-file-upload/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/work-the-flow-file-upload/)
 * [Active Topics](https://wordpress.org/support/plugin/work-the-flow-file-upload/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/work-the-flow-file-upload/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/work-the-flow-file-upload/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [kfranklin](https://wordpress.org/support/users/kfranklin/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/filetype-error/#post-6438418)
 * Status: resolved