Google Drive Uploads with Iptanus File Upload Plugin

Iptanus File Upload plugin Google Drive integration logo

Since version 4.6.0, the Iptanus File Upload plugin can send uploads to Google Drive. Files that your visitors upload are transferred to a Drive account of your choosing.

Connecting a Google Drive account

First you need to name the account and give the plugin access to it. Open the plugin’s Settings in the Dashboard:

The Google Drive Uploads option in the plugin's Settings, showing as not activated

The Google Drive Uploads option shows as not activated, with a Press here button beside it. Pressing it opens a new page or tab, which asks you to choose a Google account and then tells you that “Iptanus File Upload Plugin wants additional access to your Google Account“:

The Google consent screen asking for additional access to the account

Press Continue. The page closes, the approval finishes, and the setting reads “Activated”:

The Google Drive Uploads option showing as activated

If the page does not close when you press Continue, and you see something like this instead:

The Google authorisation page failing to close after Continue is pressed

close the window and start again with the Press here button. The second attempt normally goes through.

Sending a form’s uploads to Google Drive

Add the attribute gdrive=”true” to the plugin’s shortcode. If you prefer the Shortcode Composer, open the Interoperability tab and switch on Upload to Google Drive:

The Interoperability tab of the shortcode composer, showing the Google Drive options

The four further options

  • The destination folder — the gdrivepath attribute, or Google Drive Path in the composer. A folder that does not exist yet is created when the first file arrives. With no path set, files go to the root of the account.
  • The user data — the gdriveuserdata attribute, or Include Userdata in the composer. If your upload form collects user data, it is written into the file’s Drive description:
  • A file in Google Drive with the submitted user data in its description field
  • The local copy — the gdrivelocal attribute, set to “delete” or “keep”, or Local File Action in the composer. It decides whether the file stays on your own server once it has been transferred.
  • Duplicates — the gdriveduplicates attribute, or Trash Duplicates in the composer. Google Drive is happy to keep several files of the same name in one folder; with this on, any earlier file of that name is sent to the bin, so only the newest survives.

Once Google Drive uploads are switched on, every file uploaded through the plugin is transferred to the account you connected.

If you have questions, problems or suggestions, please contact us.

The Iptanus team

Did this solve your problem?

20 discussions

Most recent: February 2024

Questions answered by Iptanus and other users.

  1. after having uploaded, I found my file in the uploads section with a link to “Send to Google Drive”
    as that was clearly my intention can, I get it to automate this, and send it straight after upload?

    1. Yes you can configure the plugin so that uploaded files are transferred to Google Drive automatically. Here is the link with instructions.

      Regards

      Nickolas

  2. Our company is interested in buying your PRO version, however we have some questions.

    1. Is there a file upload max size?

    2. Can we bypass uploading to our media folder? We would just like the file that is uploaded go straight to a google drive folder and not reside on our server. Thanks.

    1. Hi, here are answers:

      1. Yes there is a setting to define max upload size.
      2. Files are first uploaded to the website and they are then transferred automatically by the plugin to the google drive folder. However there is an option to delete the local file (in the website) after transfer is complete.

      Regards

      Nickolas

  3. Hi,

    I am testing the Google Drive upload function in the pro version and need some guidance. I created a folder called “mtest” under the root of my google drive, and then under the Plugin Settings I entered “mtest” as the Google Drive Default Path. I also went to the Interoperability tab and set the Google Drive Path there to testsite/%userdata1%. When I did the upload, there were no errors, but the mtest folder in the root of my google drive was empty. It did however create a new root folder called “testsiteBen Mannino” with the file contained inside. So I guess the issue here is how to properly represent a Google Drive path when typing it into these plugin fields. I tried entering “\mtest” as the default folder with no luck. I believe I also experimented with using “\” and “/” and neither seemed to work. Any ideas?

Ask a question

Answered by Iptanus, usually within a working day.

Ask a question

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top