Drag and Drop Multiple File Upload for Contact Form 7
This simple plugin create Drag & Drop or choose Multiple File upload in your Confact Form 7 Forms.
Install in
Drag and Drop Multiple File Upload is a simple, straightforward WordPress plugin extension for Contact Form 7, which allows the user to upload multiple files using the drag-and-drop feature or the common browse-file of your webform.
Drag and Drop Multiple File Upload for Contact Form 7 is an independent plugin, not affiliated with or endorsed by the developers of Contact Form 7.
Here’s a little DEMO.
Features
- File Type Validation
- File Size Validation
- Ajax Uploader
- Limit number of files Upload.
- Limit files size for each field
- Can specify custom file types or extension
- Manage Text and Error message in admin settings
- Drag & Drop or Browse File – Multiple Upload
- Support Multiple Drag and Drop in One Form.
- Able to delete uploaded file before being sent
- Send files as email attachment or as a links. (see note below)
- Support multiple languages
- Mobile Responsive
- Cool Progress Bar
- Compatible with any browser
PLUGIN GUIDE – FREE VERSION
Note: On Free version, all uploaded files moves to a temporary folder (“/wp-content/uploads/wp_dndcf7_uploads”) then attaches the file to the mail and sends it. After that “Drag & Drop File Upload” removes the file from the temporary folder 1 hour after the submission. ( same process with the default “file” upload of Contact Form 7 – See here )
To adjust or disable the auto-deletion feature, we suggest upgrading to the PRO version for more options (see below).
⭐ Premium Features ⭐
Check out the available features in the PRO version.
- Upload Large File – Supports uploading large files.
- Image Preview – Displays thumbnails for images.
- Auto Delete Files – Automatically deletes files after a set time (hours, weeks, days, months, etc)
- Zip Files – Compress uploaded files into a ZIP archive
- Save Files to Media Library – Store files in the WordPress media library.
- Change Upload Directory – Customize the default WordPress upload directory.
- Upload Folder – 📂 Choose a custom folder to store files:
✅ Contact Form 7 Fields: Use any field name
✅ Generated Date & Time: Timestamp-based folders
✅ Random Folder: Auto-generated letters & numbers
✅ By User: Requires login to store files in the user’s email or first name.
✅ Custom Folder: Manually input a folder name
✅ Dynamic Folder: User (name, id), Post (id, slug), CF7 field - Send as Attachments, Zip, or Links – Flexible file delivery options.
- Chunked Uploads – Upload large files in smaller chunks to avoid timeouts.
- Max Total Size – Set the maximum combined size for all uploaded files.
- Parallel Upload – Limit simultaneous uploads to optimize server performance.
- Custom Filename – Create custom filename patterns using variables such as
{filename},{cf7-field-name},{ip_address},{random},{post_id},{post_slug}, and more. - Color Options – Customize colors for file size, progress bar, filename, and more.
- Prevent Duplicate – Disable button to prevent duplicate submissions.
- Custom Theme – Switch between “Dark” or “Light” themes.
- Form Entries – Store form entries in WordPress admin.
- Seamless Remote Storage Integration
🔥 Supports: OneDrive, Google Drive, Amazon S3, Dropbox, FTP. - Image Size Validation – Ensure images meet required width and height.
- Image Resize – Supports image resizing (e.g., 800×800). (Standard Version Only)
- Optimize Image – Optimize images after resizing. (Standard Version Only)
- Security – Ensure security with regular updates, vulnerability scans, and threat protection.
- Optimized Code & Performance – Improve speed and efficiency.
Pro version is also compatible with:
- Contact Form 7 Add-on – Arshid
- Database for Contact Form 7- Ninja
- Advanced Contact form 7 DB – Vsourz Digital
You can get PRO Version here!
PRO VERSION – PLUGIN OVERVIEW
Other Plugins You May Like
-
Order Files for WooCommerce
An extension that attach files to existing WooCommerce orders, allowing both customers and admins to upload and manage files easily. -
Easy File Upload & Approval
Easy File Upload & Approval – A simple file management plugin that lets users effortlessly upload and submit files for review through a clean and simple drag-and-drop interface. -
Drag & Drop Multiple File Upload – WooCommerce
An extension for WooCommerce – Transform your simple file upload into beautiful “Drag & Drop Multiple File Upload”. -
Drag & Drop Multiple File Upload – WPForms
An extension for WPForms – Transform your simple file upload into beautiful “Drag & Drop Multiple File Upload”.
Written by Joobi from the project's own listing. See the source page
1.4.2
- Security – Fixed stored XSS via uploaded files. (Via Wordfence)
- Security – Hardened file upload checks and upload folder protection. (Via WPScan)
- Bug Fix – Fixed “Unauthorized Request!” and “File not safe” errors when removing files.
- Bug Fix – Fixed “filetypes:*” upload issues, long file names and PHP 8 errors.
- Improved – Minimum PHP version is now 7.4.
1.4.1
- Security – Improved file type validation and upload security to prevent unauthorized file uploads. Reported by “Jakub Herman” (Via WPScan).
- Bug Fixes – Add script to check if cron schedule to avoid interuption on auto delete features.
- Bug Fix – Fixed PHP warning in the posted_data hook when file data is not an array. (Thanks to “Dominic”)
- Compatibility – Compatibility check for Contact Form 7 6.2.4.1
1.4.0
- Hotfix – Fixed max network cap error while uploading files if more than 1 drag & drop file upload.
- Added – New settings where user can enable/disable network cap.
- New – New option/settings to disable network cap. [Contact->Drag & Drop Upload->Network Cap]
1.3.9.9
- Security – Fixed a stored XSS vulnerability in the Heading Tag setting. (Thanks to “Sai Praneeth Koti” via WPScan)
- Security – Fixed unauthenticated remote code execution via filename (Thanks to “Jakub Herman” via WPScan)
- Improved – Nonce generation is now protected or logs as per IP address.
- Improved – Enhanced spam upload protection.
1.3.9.8
- Bug Fix – Js error disabled button after upload when “enable jquery” option is used.
- Security Fix – Cross Site Scripting (XSS) (via patchstack)
- Security Fix – Fixed Unauthenticated Arbitrary File Upload (Thanks to “Nguyen Dinh Hung (Mitchell)”)
- JS Fix – Fixed file counter when file upload has an error or when deleting file.
- Vulnerability – Fixed Authenticated (Administrator+) Stored Cross-Site Scripting via admin fields Settings. (via “Wordfence”)
- Improved – Added sanitization for admin settings/options and escaped localized script data for better security and data handling.
1.3.9.7
- Improved : Change htacess generated file to support apache 2.2 & 2.4
- Security Fix : Unauthenticated Arbitrary File Upload via Non-ASCII Filename Blacklist (Thanks to Leonid Semenenko via WordFence)
- Security Fix : Unauthenticated Limited Arbitrary File Read via mfile Field (Thanks to Osvaldo Noe Gonzalez Del Rio via WordFence)
- Security Vulnerability : Fix Unauthenticated Arbitrary File Deletion (Thanks to Bao Nguyen)
1.3.9.6
- New : Replaced cookies with localStorage for unique upload folder generation.
- Security : Unauthenticated Arbitrary File Upload (Reported by Thomas Sanzey via WordFence) – user able to upload “php5 – php8” for non ascii filename by bypassing extensions present in the blacklists.
1.3.9.5
- Hot Fix: Minor spelling mistakes.
1.3.9.4
- Fixes: Change shutdown hook to cron events in order to fix this issue. Support Link
- Fixes: Move the js cookie generation from wp_footer hook to wp_add_inline_script. Support Link
- Improvement: Minor fixes and improvement.
1.3.9.3
- Security: Fixed vulnerability issues reported by WordFence (reported by shark3y) – unauthorized modification of data due to a missing ownership check in the dnd_codedropz_upload_delete() function.
- Security: Fixed an unauthenticated limited arbitrary file upload issue allowing .phar and .svg files when using blacklist mode with file types set to *. (by WordFence via andrea bocchetti)
1.3.9.2
- Fixed – File Upload required fields conflicts with Conditional Fields for CF7.
- Fixed – Typo error in Cf7 field editor.
- Fixed – Multiple errors showing in upload field.
- Check – WordPress 6.8.3 compatibility.
1.3.9.1
- Fixed : Security issues related to cookie (Thanks to WordFence)
- Bug : Fixed or Replace crypto.randomUUID() error on non https. Support Link
1.3.9.0
- Security: Fixed security issues reported by Wordfence “Remote Code Execution via PHAR File Upload if changing the filename something like poc.phar”.
- Bug Fix: Modified script for compatibility on “conditional field for Contact Form 7”.
1.3.8.9
- Check: Verified compatibility with WordPress 6.8.
- Security: Enhanced security measures.
- Bug Fix: Fixed an issue with file deletion from PHAR archive when associated Flamingo entries are deleted.
1.3.8.8
- Fixes – Fixed Vulnerability issues reported by Phat RiO – BlueRock (via Wordfence)
- Unauthenticated Arbitrary File Deletion
- Unauthenticated PHP Object Injection via PHAR to Arbitrary File Deletion
- Added – Solution to prevent file deletion when flamingo message is deleted from the admin.
- Fixed – Cookie issues prevent from caching. Support Link
1.3.8.7
- Fixes – Header already sent issuesupport
- Fixes – Unable to delete file when “send file(s) as link” enabled. support
1.3.8.6
- Fixes – Security Updates (fixed Vulnerability issue reported by Wordfence – CVE ID:CVE-2024-12267)
- Bug Fix – Fixed bug Support Link
- Improvement – Added a random directory for each user/guest uploads to prevent file deletion across folders (related to item # 1)
1.3.8.5
- Hot fix ( Showing critical error on Php 7.3 and Up )
- Improvement – Improved I18N (Thanks to @alexclassroom)Support Link
1.3.8.4
- Added Compatibility on Contact Form 7 6.0.
- WordPress 6.7 Compatibility check.
1.3.8.3
- Bug – Fixed “send file(s) as links” option not creating year/month folder structure.
1.3.8.2
- Fixes – Show query error using Query Monitor plugin Here
- Added – JS/PHP hooks after successful upload Here
- Tweak – Move error message above files upload Here
- Fixes – Minor fixes and improvements
1.3.8.1
- Quick Fix – Unable to uncheck “Send file(s) as links” option.
1.3.8.0
- Quick fix to prevent auto-deletion if the “Don’t delete files” setting was overridden by recent updates.
1.3.7.9
- Bug – Added back the “Don’t delete files” option.
- Optimized – Optimized plugin settings by saving them as an array instead of retrieving individual settings from the wp_options table.
- Compatibility check on latest version of Contact Form 7 5.9.5.
Follow this listing's changes (Atom feed)