Since version 3.5.0, the Iptanus File Upload plugin can send uploads to Dropbox. Files that your visitors upload are transferred to a Dropbox account of your choosing.
Connecting a Dropbox account
First you need to name the account and give the plugin access to it. Open the plugin’s Settings in the Dashboard:
The Dropbox Uploads option shows as not activated, with a Press here button beside it. Pressing it opens a new page telling you that “Iptanus File Upload Plugin would like access to the files and folders in your Dropbox“. If you are not signed in to Dropbox, you are asked to sign in first.
Press Allow. The next screen shows a code:
Copy that code into the text box of the Dropbox Uploads option in the plugin’s Settings:
Press Finish. The option now reads “Activated”:
Sending a form’s uploads to Dropbox
Add the attribute dropbox=”true” to the plugin’s shortcode. If you prefer the Shortcode Composer, open the Interoperability tab and switch on Upload to Dropbox:
The two further options
- The destination folder — the dropboxpath attribute, or Dropbox 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 local copy — the dropboxlocal 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.
Once Dropbox 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








But I have a question.
You can limit access only to users to see from Dropbox with pictures?
I want to display an image in the startup image and when to click on it, redirect the user to the Dropbox to see all the images. Access to the dropbox is for registered users only.
Thank you
Hi, if I understood well, you have a file viewer inside a page, where you show images to users. When a user clicks on an image, you want to be redirected to a Dropbox folder that contains a set of images. How is the Dropbox folder URL defined? Manually by the admin?
Regards
Nickolas
Hi Nickolas,
I am trying to use the dropbox functionality, but no luck. Here is the error code form the debug log:
Stack trace:
#0 C:\inetpub\wwwroot\wp-content\plugins\wordpress-file-upload-pro\vendor\transfer-services\kunalvarma05\dropbox-php-sdk\src\Dropbox\Authentication\OAuth2Client.php(154): Kunnu\Dropbox\Http\Clients\DropboxGuzzleHttpClient->send(‘https://api.dro…’, ‘POST’, NULL)
#1 C:\inetpub\wwwroot\wp-content\plugins\wordpress-file-upload-pro\vendor\transfer-services\kunalvarma05\dropbox-php-sdk\src\Dropbox\Authentication\DropboxAuthHelper.php(223): Kunnu\Dropbox\Authentication\OAuth2Client->getAccessToken(‘JWYi6FbFyq8AAAA…’, NULL)
#2 C:\inetpub\wwwroot\wp-content\plugins\wordpress-file-upload-pro\extensions\wfu_dropbox\_wfu_dropbox.php(57): Kun in C:\inetpub\wwwroot\wp-content\plugins\wordpress-file-upload-pro\vendor\transfer-services\kunalvarma05\dropbox-php-sdk\src\Dropbox\Http\Clients\DropboxGuzzleHttpClient.php on line 64
[29-Aug-2020 21:26:31 UTC] PHP Fatal error: Uncaught Kunnu\Dropbox\Exceptions\DropboxClientException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in C:\inetpub\wwwroot\wp-content\plugins\wordpress-file-upload-pro\vendor\transfer-services\kunalvarma05\dropbox-php-sdk\src\Dropbox\Http\Clients\DropboxGuzzleHttpClient.php:64
Stack trace:
#0 C:\inetpub\wwwroot\wp-content\plugins\wordpress-file-upload-pro\vendor\transfer-services\kunalvarma05\dropbox-php-sdk\src\Dropbox\Authentication\OAuth2Client.php(154): Kunnu\Dropbox\Http\Clients\DropboxGuzzleHttpClient->send(‘https://api.dro…’, ‘POST’, NULL)
#1 C:\inetpub\wwwroot\wp-content\plugins\wordpress-file-upload-pro\vendor\transfer-services\kunalvarma05\dropbox-php-sdk\src\Dropbox\Authentication\DropboxAuthHelper.php(223): Kunnu\Dropbox\Authentication\OAuth2Client->getAccessToken(‘JWYi6FbFyq8AAAA…’, NULL)
#2 C:\inetpub\wwwroot\wp-content\plugins\wordpress-file-upload-pro\extensions\wfu_dropbox\_wfu_dropbox.php(57): Kun in C:\inetpub\wwwroot\wp-content\plugins\wordpress-file-upload-pro\vendor\transfer-services\kunalvarma05\dropbox-php-sdk\src\Dropbox\Http\Clients\DropboxGuzzleHttpClient.php on line 64
I upgraded the php and wordpress is now recognizing the server as 64 bit. I still cannot click the finish button after I place the dropbox API code in the box. Please help!
Thanks!
Hi, go to plugin’s Settings and activate option “Use Alternative Iptanus Server”. Then try again.
Furthermore, can you provide some info about your server? Is it a managed one? what is the operating system, Linux or Windows?
Regards
Nickolas
Hi Nickolas,
The “Use Alternative Iptanus Server” did not end up working for us.
We are running a Windows Server with Windows Server 2012 (64bit), IIS 8 (64bit), and PHP 7.2.7 (64bit) – also we are running as an Amazon AWS Instance – so we have full control over all of the server settings in case there are any server settings that we need to update in order to successfully connect to Dropbox.
Thanks,
Evan