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. Hi

    I have the pro version. I have followed the instructions to set upload files to Google Drive. Google drive uploads “Activate.” The file sits in Pending File Transfer and does not upload to my Google Drive. gdrive=”true” gdriveuserdata=”true”

    Please can you help

  2. Hi Nickolas

    The full code
    [wordpress_file_upload uploadpath=”” captcha=”true” forcefilename=”true” duplicatespolicy=”maintain both” uniquepattern=”datetimestamp” placements=”userdata/captcha/title/filename/selectbutton/uploadbutton/subfolders/filelist/message” requiredlabel=”(*)” notify=”true” notifyrecipients=”%userdata2%” notifymessage=”Dear Friend%n%%n%This is an automatic delivery message to notify you that your file has been uploaded.%n%%n%We will contact you shortly.%n%%n%Best Regards%n%%n%SJ” userdata=”true” userdatalabel=”Your Name:|t:text|s:left|r:1|a:0|p:none|d:/Email|t:email|s:left|r:1|a:0|v:1|p:none|d:|g:0/Phone Number (+00)|t:number|s:left|r:0|a:0|v:1|h:0|p:none|d:|f:d/Comments|t:multitext|s:left|r:0|p:none” gdrive=”true” gdriveuserdata=”true”]

    1. Hi, I see so problems. What is your server? 32 or 64bit? and your PHP version? you can see these in plugin’s Main page in Dashboard.

      Nickolas

  3. Hi Nickolas

    Please see the details below.

    Status
    Edition Professional
    Version 4.14.4 You have the latest version.
    Server Environment 64bit (Your server supports files up to 1 Exabyte, practically unlimited)
    PHP Version 7.4.10

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