File management can be a real pain in the neck, especially when you’re dealing with any kind of volume at all. Add to that a shoestring hosting budget, and your options for managing file volume just got even smaller.
So what are you supposed to do?
You need all the content you can get from your volunteers and contributors to keep your project moving forward. With the File Uploads add-on for Ninja Forms, we’ve come up with the solution. Instead of bogging down your web server, send the file uploads to Google Drive instead.
This not only takes the burden off your hosting, but it gives you the ability to easily search, sort, AND share the files securely, all for an extremely nominal cost. Here’s how to connect your WordPress uploads to Google Drive!
Upload files to Google Drive from WordPress
- First, add the File Upload field to your WordPress Form
- Next, click on the Emails & Actions tab. Add the External File Upload action to your form.
- Open up the External File Upload action and toggle on the Google Drive setting.
You did it! Easy, right?
🔥 Hot Tip 🔥
If the uploaded files are showing up in your server disable the Save to Server toggle found in the File Uploads fields.
Sending documents to Google Drive has never been so easy 👩🏻💻
Congrats! You now know how to upload files to Google Drive with WordPress. So stop wasting time filtering through WordPress every time you need a file. Make your file-sharing easier by giving Web Administrators access in real-time. Want to give some contributors access to the upload field and not others? Pair File Uploads with Conditional Logic to show or hide the upload field dynamically.
Not a fan of Google Drive? Don’t worry you can connect to Dropbox and Amazon s3 too. Besides sending uploaded files to external storage devices, you can attach uploads to notifications, create custom file directories, set min and max file sizes as well as restrict the type of files users can upload.
Get the File Uploads add-on for Ninja Forms. It comes with the Plus Membership or can be purchased separately ( unlike our competition) with a one-, five, or twenty-site license. As one of the most popular add-ons Ninja Forms offers, you won’t regret it.
Steve Bottrell says:
does this work with the PDF attachment plug in ?
matteo pini says:
Hi,
is it possible to have a different folder for any upload in the main drive folder i choose for the storing?
Is it possible also to have the data collected in the form to be stored in a drive data sheet?
Thanks and have a nice day
Matteo Pini
Quay Morgan says:
Yes and yes, Matteo. Check out the custom directory naming conventions in the general settings section of the File Upload documentation. You can also connect any form directly to Google Sheets.
GC says:
Hi , is it possible to change file name uploaded to Drive ? Actually it seems to insert timestamp before filename . I need to delete that !
Quay Morgan says:
You can set the file path right now, but not the name. Check the File Uploads General Settings section here for directions on how to do that:
https://ninjaforms.com/docs/file-uploads/#setupload
We hope to add a dynamic file name convention in the future.
M W says:
Hey does this work with team drives or shared drives? if so how do i hook that up?
Thanks
sn says:
Hi, does this work with non-login (unregistered wordpress and google) user to upload large file (like 1gb) to google drive? thanks.
Quay Morgan says:
Yep. No requirement to be logged in or not. For a 1gb file size you’re likely going to have to contact your host to have the server file size restriction cap increased. While the file will not be saved to the server, the file does hit it on the way to Google Drive.
Dimitrije says:
Can Upload Files to Google Drive from WordPress work with Personal plan or I need Professional?
Fike Komala says:
Hi Dimitrije,
The File Uploads add-on is included in the Personal Membership, so you don’t need the Professional Membership 😉
Halim says:
Is it possible to upload directly to drive, without upload to wordpress at first??
Quay Morgan says:
Yes, under the email & actions tab, open the store submission action and turn it off for the upload field. File will not hit server first.
Andy says:
Any idea why NinjaForms adds a long number to the beginning of the filename when using the GoogleDrive upload? Any way to stop it from doing that?
Dayle Flude says:
Can someone please answer this, as we have the same issue.
We rename the file to be “last name, first name – TitleField – some text” (to allow for easy sorting) yet it arrives on Google Drive with a timestamp before it (i.e. 1659274296-), which isn’t useful and very time consuming by having to edit each and every uploaded file.
Is this a setting within Ninja Forms or something Google Drive does?
We also have it linked to a specific folder we create just for Ninja Forms, yet they land in the master folder eacah time. Is there a way of making the uploads go into a specific shared folder on Google Drive?
Thanks.
Mónok Péter says:
Hello!
Is it possible to save to GDrive to different folder of each upload?
I mean i can use %date% at Upload settings but can I also use it at external settings?
Lenka Uhliarova says:
You could possibly use the {other:random} merge tag which generates a 5 character string of letters in order to create a new, separate folder each time a file is uploaded.