FIle Upload - Store uploaded files in Google Drive folder?

By: Michael Mehlhorn | Asked: 07/10/2023
ForumsCategory: How-toFIle Upload - Store uploaded files in Google Drive folder?
Michael MehlhornMichael Mehlhorn asked 1 year ago
We are looking to use the file upload feature in our form however because of the nature of the files provided we don't want them to be made public links within Wordpress. Ideally we want two things to happen:
  1. The file that was uploaded is attached to the notification email.
  2. The file that was uploaded is moved to a Google Drive folder.
I am realizing there isn't a native integration or feature for this so i'm wondering if it would be possible with PHP by using a hook to create a custom function that will move the files to a different folder. I am not a developer or have any experience in PHP so I might need some help to implement if it's not easy.
Michael M replied 1 year ago

We do this with an additional plugin that allows you to "use your google drive". There are 2 or 3 of such plugins in the WordPress plugins directory; the one we use integrates with Formidable Forms and gives you a new form item that handles the upload/download to Google drive automagically in the background. Just like dropping a regular upload field onto the form!

Might be an option to check out one of those plugins to see if the features help solve your case.

Michael M replied 1 year ago

- I assume your follow-up question was removed as we are not permitted to share links to other products here. Fair enough.

I would say though... it has to be worth you testing out any that you find (and I think there are only 2 or maybe 3 actively developed options in the WordPress add-new plugins directory). They all seemed fairly similar to me at the time, but in the end I made a choice based on which had most (or all) the options I needed. Especially for me was Formidable integration, well elaborated API with examples, and a comfortable/logical interface for the customer.

But to answer the 2nd part of your follow-up Q... The plugin we use does make available the URL of the uploaded files (or folder), and you could certainly attach the direct download link to an e-mail. The plugin has options to allow downloading files 1-by-1, or as a zip file. Fairly good feature set, and also a well documented API too, if you wanted to add hooks/etc... (Which you might need anyway, to get the email feature just right).

Victor Font replied 1 year ago

"- I assume your follow-up question was removed as we are not permitted to share links to other products here. Fair enough."

I don't know about the other moderators, but I do not remove posts to other products unless it's clearly a spam entry, but definitely not as a response to a legitimate question posed by a user looking for an answer to solve a problem.

Michael M replied 1 year ago

Thanks for confirming that Victor.

In that case-- we have very good success with "Use-your-Drive | Google Drive plugin for WordPress", from wpcloudplugins

They have a section in their documentation called "Formidable Forms Integration"

Michael MehlhornMichael Mehlhorn replied 1 year ago

Thank you!

1 Answers
Walter JonesWalter Jones answered 1 year ago
If you're looking for an integrated addon for S3 compatibility I created this plugin last year.  

It adds a form field to the builder and functions natively like the file upload field, but you can also use it in views to show the files you have uploaded. 

https://formidable-masterminds.com/downloads/cloud-upload-for-formidable-forms/
Michael MehlhornMichael Mehlhorn replied 1 year ago

Thanks for sharing!

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right