I had the same issue, it looks like WordPress isn’t able to determine the correct MIME type for RFA files, so it defaults to:
'application/CDFV2-unknown'
Changing the MIME type to this fixed it for me. So it would be:
add_filter( 'upload_mimes', function ( $mime_types ) {
$mime_types['rfa'] = 'application/CDFV2-unknown';
return $mime_types;
} );
Related Posts:
- Which filters or actions to use after a media upload and delete?
- Setting wp_temp_dir and permissions not working for “Missing A Temporary Folder” error
- Use WP_Filesystem to list files in directory
- Where is Featured Image code stored in WP?
- how to change max file upload size WordPress 4.9.8 [closed]
- What functions of WP_Filesystem allow me to create a file with code-generated contents in a directory?
- Right way to download file from source to destination
- Upload PDF and other files from the Front-End
- How to upload .tex files in wordpress?
- How to assign multiple file-mime-types to extension?
- Is it possible to reorganize the WordPress uploads directory?
- wp_delete_attachment doesn’t delete images in wp-content/uploads/
- Force WordPress 3.3 to use Flash uploader
- Protecting direct access to PDF and ZIP unless user logged in (without plugin)
- How to restrict images in v3.5 Media Library modal to only those from a specific post id?
- Allow CSV files to be uploaded
- How to add more upload directories?
- Multisite, upload images directly to Amazon S3
- What to do with unattached logos and header uploaded via native wordpress uploader?
- upload_mimes filter has no effect
- How can you limit the number of images / videos that can be uploaded to a WordPress post
- Failure upgrading / updating site to WordPress 4.7
- Impose a Maximum Limit on Image height and width upload size
- Force wordpress to see uploads folder media
- How do I enable the customize theme page to accept svg’s?
- Frontend Simple Local Avatar upload
- Disable TinyMCE Drag and Drop
- WP3.5 Media Uploader – how to make it accept multiple images?
- How to define a remote uploads directory?
- Looks like image resize is not working well
- Add new media uploader at frontend for wp 3.5+
- Incremental number handling on duplicate file names
- wp_temp_dir does not change the /tmp temporary default directory
- How to upload all media to one folder, with no year/month subfolders
- Any way to define WP_UPLOADS_URL (like WP_CONTENT_URL)?
- Regenerate thumbnails after upload
- Media library storing files in uploads not folders within in uploads
- upload files dynamically to user folders
- How to protect media directory with .htaccess?
- Is there a limit on the number of attachments?
- How to delete uploads not in media library?
- How to decrease the file size upload limit?
- media_handle_upload : undefined function?
- Site icons with alpha channel for self-hosted WordPress blog network
- How can I allow upload of ttf or otf font files when hooking `upload_mimes` doesn’t work
- I made a website using WordPress, but the server is ColdFusion, how can I make it work?
- Using subdomain to upload media/images etc on 2 different blogs
- Can I upload a file to the site so that it is not accessible via an HTML page?
- Calling WP Gallery Uploader/Selector From Metabox
- why am i getting the ‘fatal error’ msg when uploading photos within specified MB?
- Disable image thumbnails for only one upload folder
- Media library only shows for admin. Doesn’t show editor or below [closed]
- Upload featured image from front end using media-upload.php
- Get File Object from wp.Uploader
- media_handle_sideload on a file already on server
- Capability to prevent upload of files
- wp_handle_upload: get custom checkbox value from media uploader
- Edit User Profile From Front End
- How can I upload to wp media library by foundation zurb ajax
- HTTP Error When Uploading Images with HTTPS?
- Saving file to disk receiving fopen error
- Check for file extension or mime type fails
- Error when upload images larger than 1024px [closed]
- uploaded images not going to /uploads folder
- Setting image upload absolute path?
- Set different max upload size limits based on file type/extension
- how to change wp upload directory to another domain directory
- Disable “Create Audio Playlist” and “Create Video Playlist” in Add Media
- How to make picture appear on wordpress site shared link? [closed]
- limit media upload to once a day
- How to download files to WordPress?
- How to detect when a file has been uploaded?
- wp-content/uploads returns a 404
- Cant upload larger than 100MB
- Multiple images are generated in WP-content in wordpress
- Removing extra large generated images disables all crops
- MIME types not recognized by media library
- Missing a temporary folder not fixed
- Upload automatically html files
- Updating the attachment from front end doesn’t show the new change
- Bulk upload images in upload folder does not show in media library
- Is there some way to find if media items are used anywhere on the site?
- Media URL slugs without uploads folder path
- Add more field on WordPress media upload
- Frontend media shows “An error occurred in the upload. Please try again later.”
- File Upload Management
- WP_Custom_Media_Control | Give ID to media file
- WP Add Media Button – Can I set the default size to Original/Full Size
- Video limit about wordpress
- Files larger than 500 kilobytes are not allowed
- How to split my uploaded media into directories?
- get the post thumbnail returns the full size
- WordPress media upload multiple images
- Media Upload Directory to MMYY instead of YYYY/MM
- Is there a way to force Featured image to show as attachement?
- Auto-Import of WXR File
- Media upload takes too long
- Problems with defining UPLOADS constant
- Auto shortlink for file uploads
- Obtaining detailed error information from Media file upload process