File Upload Types by WPForms

설명

WordPress File Upload Types Plugin

Do you want to let your WordPress website accept uploads from your users for more file types and to freely upload files? We created the File Upload Types plugin to make it simple for anyone to easily add support for any file types with any extension or MIME type.

How WordPress File Uploads Work

By default, WordPress only allows certain file types to be uploaded to your website’s media library.

If someone tries to upload a file type outside of these whitelisted WordPress file extensions, this can be the cause of the common WordPress error Sorry, this file type is not permitted for security reasons message.

It can be frustrating if you’ve created a file upload form in WordPress but the file type you want to accept is a file extension that’s not allowed.

This plugin lets your website upload more file types beyond the limited file extension types that WordPress allows by default.

How does the File Upload Types plugin work?

The File Upload Types plugin works by letting you adjust the internal file whitelist, letting you manually control which types of file extensions your WordPress website can upload.

This way, you can accept any file type through your website and/or any contact form plugin like WPForms.

What file types can I upload to WordPress with this plugin?

The File Upload Types plugin lets you allow uploads of any file extension, including custom file types.

Some common file extension types this plugin lets you add that WordPress doesn’t support natively include:

.ai
.zip
.xml
.svg
.csv
.mobi
.cad
.dwg
.dxf

…and any other file extensions that exist, including custom file types.

We hope that you find the File Upload Types plugin helpful!

Credits

This plugin was created by the team behind WPForms – the best drag & drop form builder for WordPress.

What’s Next

If you like this plugin, then consider checking out our other projects:

  • WPForms – The best WordPress Contact Form Plugin.
  • OptinMonster – Get more email subscribers with the most popular conversion optimization plugin for WordPress.
  • MonsterInsights – See the stats that matter and grow your business with confidence. Best Google Analytics plugin for WordPress.
  • SeedProd – Jumpstart your website with the #1 Coming Soon & Maintenance Mode plugin for WordPress.
  • WP Mail SMTP – Improve email deliverability for your contact form with the most popular SMTP plugin for WordPress.
  • RafflePress – The Best WordPress giveaway and contest plugin.

Visit WPBeginner to learn from our WordPress tutorials and find out about other best WordPress plugins.

스크린샷

  • Settings Page

설치

  1. Install File Upload Types by WPForms either via the WordPress.org plugin repository or by uploading the files to your server. (See instructions on how to install a WordPress plugin)
  2. Activate File Upload Types by WPForms.
  3. Navigate to the Settings area of the File Upload Types plugin in your WordPress admin menu to add file types and MIME types.

FAQ

What file types can I upload to WordPress by default?

By default, WordPress only allows cetain types of files to be uploaded to a website for security reasons.

Some common file types and file extensions that WordPress supports uploading by default include:

Images
.jpg
.jpeg
.png
.gif
.ico

Documents
.pdf (Portable Document Format; Adobe Acrobat)
.doc, .docx (Microsoft Word Document)
.ppt, .pptx, .pps, .ppsx (Microsoft PowerPoint Presentation)
.odt (OpenDocument Text Document)
.xls, .xlsx (Microsoft Excel Document)
.psd (Adobe Photoshop Document)

Audio
.mp3
.m4a
.ogg
.wav

Video
.mp4, .m4v (MPEG-4)
.mov (QuickTime)
.wmv (Windows Media Video)
.avi
.mpg
.ogv (Ogg)
.3gp (3GPP)
.3g2 (3GPP2)

Having problems uploading permitted file types or with a big file upload? Some WordPress hosting providers don’t allow you to add all file types, even if you add file types to your media file library with the File Upload types plugin. Hosts can also limit the maximum file upload size you can accept.

I found a bug, now what?

If you’ve stumbled upon a bug, the best place to report it is in the File Upload Types GitHub repository. GitHub is where the plugin is actively developed, and posting there will get your issue quickly seen by our developers. Once posted, we’ll review your bug report and triage the bug. When creating an issue, the more details you can add to your report, the faster the bug can be solved.

Help! I need support or have an issue.

Support is available for File Upload Types via the WordPress.org support forums.

Email support is available to WPForms PRO users.

후기

2024년 10월 15일 답글 1개
This plug-in just saved me from disaster. I needed to upload an .msi file to my WordPress site just before leaving on a trip, and at the last minute I discovered that WordPress didn’t allow that file type to be uploaded. Even after using FTP to upload the file manually, it still wasn’t showing up when I tried to insert a link to it on a page. After installing this plugin, and dragging and dropping the .msi file into the custom file type area of the plugin’s settings page, WordPress then allowed me to upload the file and insert a link to it in the usual way. Problem solved!
2024년 10월 11일 답글 1개
It took me a few minutes to work out that if I uploaded a file into the box at the bottom of the instruction panel that it would automatically verify the mime type and add the upload capabilities to my site without needing to know anything else. It was extremely easy after that and I am so incredibly appreciative for the work this developer has done. THANK YOU.
2024년 6월 13일 답글 1개
This plugin works out of the box. Instructions for adding more file types are clear and support is phenomenal. The UI is top-notch as well. Job well done!
2023년 3월 30일 답글 1개
Works as intended. Great support. Thanks.
모든 18 평가 읽기

기여자 & 개발자

“File Upload Types by WPForms”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“File Upload Types by WPForms”(이)가 2 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “File Upload Types by WPForms”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.5.0 – 2024-10-23

  • “Add your custom file types” link did not work before clicking on “Add file types manually” link.
  • Implemented sanitizing of SVG & HTML files.
  • Added message about allowing risky file types.
  • Some file types, even enabled, were not possible to upload using the Gutenberg editor.

1.4.0 – 2024-07-17

  • New functionality to define file extension and MIME type with sample file.
  • The minimum required PHP version is now 7.0.
  • The minimum required WordPress version is now 5.5.
  • Updated styles and icons.

1.3.0 – 2023-02-15

  • IMPORTANT – Support for WordPress 5.1 has been discontinued. If you are running WordPress 5.1, you MUST upgrade WordPress before installing File Upload Types 1.3.0. Failure to do that will disable File Upload Types core functionality.
  • Enhancement – Add .world and .heif extensions to the default list.
  • Enhancement – The list of mime types was extended with .json, .otf, and .ttf file extensions.
  • Enhancement – Do not load the plugin textdomain locally, since it is not needed starting from WP 4.6.
  • Fix – Microsoft Office MIME type wasn’t properly supported.

1.2.2 – 2021-06-17

  • Fix – PHP notices when invalid files are uploaded.
  • Enhancement – Replace jquery.ready with recommended syntax.

1.2.1 – 2021-02-24

  • Fix – Correctly load composer autoload.
  • Enhancement – Add .eps extension to the default list.
  • Enhancement – Add ‘application/pdf’ mime type to .ai extension.

1.2.0 – 2020-09-15

  • Feature – Multiple MIME types support for a single extension.
  • Fix – WordPress 5.5 not clearing values for reptetitive fields.
  • Enhancement – Remove already allowed jpg,jpeg extension from the list.
  • Enhancement – Improve ‘add your custom file types’ link’.
  • Dev – Deprecate ‘file_upload_types_strict_check’ filter without any alternative.
  • Dev – Increase priority of ‘wp_check_filetype_and_ext’ filter to 999.

1.1.1 – 2020-07-02

  • Fix – Ignore file types that are already allowed by default.
  • Fix – Remove duplicate MIME types of the same extension that could create conflict.

1.1.0 – 2020-05-13

  • Refactor – Autoloading plugin files and use namespace.
  • Fix – Error uploading file types with numerical extension.
  • Fix – Icon position on small sized devices.
  • Enhancement – Custom types field color visisbility.
  • Enahcement – Parameters to the strict check filter.

1.0.0 – 2020-02-12

  • Initial Release