After 3.5.0 version, WordPress File Upload plugin supports Dropbox uploads. Administrators can choose to transfer the files uploaded by their website visitors to a Dropbox account.
To enable Dropbox uploads, we first need to define a Dropbox account and allow the plugin to have access to it. We do this very easily by going to the plugin’s Settings in Dashboard:
There is a Dropbox Uploads option there which shows that Dropbox Uploads are not activated and prompts to press the “Press here” button. By pressing this button, a new page appears informing that “WordPress File Upload Plugin would like access to the files and folders in your Dropbox” as shown below (in case you are not logged in your Dropbox account, then you will be first asked to log into your account):
Press the Allow button to go to the next screen, which displays a code:
Copy the code and paste it into the textbox of the Dropbox Uploads option in plugin’s Settings as follows:
After pressing the Finish button, approval process will complete and you will see the “Activated” text, as shown below:
Now you are ready to enable Dropbox uploads to your WordPress File Upload plugin instances, by adding manually the attribute dropbox=”true” inside the plugin’s shortcode. If you wish to use the Shortcode Composer, then go to Interoperability tab and enable the option “Upload to Dropbox”, as shown below:
Another two options are provided:
- The ability to define the destination directory at the Dropbox account by setting dropboxpath attribute into the shortcode, or by setting Dropbox Path option using the Shortcode Composer. If this directory does not exist, it will be created when a file is transferred to the Dropbox account. If no destination path is set, files will be transferred to the root of Dropbox account.
- The ability to determine if the local file will be deleted or not, by setting the value “delete” or “keep” in dropboxlocal attribute into the shortcode, or by setting Local File Action option using the Shortcode Composer.
After enabling Dropbox uploads, files that the website visitors upload through the WordPress File Upload plugin will be transferred to the Dropbox account that we have set.
For any questions, problems or suggestions, please contact us.
The Iptanus team
I need to activate the Dropbox function, all seems clear except that when I press click the “Press Here” button nothing happens. I have tried in Chrome, Firefox, Explorer. I have uninstalled and reinstalled the plugin, please help!
Website is http://artwareforgood.com/upload-mas-pet-tile-artwork/
Thank you!
Having the same problem as Cynthia. Pressing the “Press Here” does nothing. I have tried on safari and Firefox with popup blockers disabled.
have you installed any other plugins that use Dropbox?
Hi. I’m having the same problem and, of course, need to get this sorted for a client as soon as possible. We have been experimenting with other plugins that could access DropBox. They have been uninstalled. Running latest WP and version of plugin.
Same problem. “Press Here” does nothing. I’ve not installed any other plugins/widgets that use Dropbox.
Hi, is your web server 32 or 64bit? You can see this at the plugin’s main page in Dashboard.
32bit
unfortunately Dropbox API does not work for 32bit systems, this is a restriction from Dropbox because 32bit servers cannot handle files larger than 2GB, what you can do is ask your host to upgrade your system to 64bit
Is it possible to have files upload to different folders within Dropbox based on a dropdown selection when submitting the file?
Say I had Drobox folders labelled “Joe,” “Bob,” and “Sally.”
Could I let people choose which Dropbox folder they uploaded to?
My Dropbox uploads have stopped working, I’ve reactivated the plugin connection but files are not being sent
When your server environment is 32-bit and you don’t plan on uploading anything larger than 2Gb, you can make this work by editing the RequestUtil.php file in plugins/wordpress/file-upload-pro/vendor/dropbox/. Look for “if (strlen((string) PHP_INT_MAX) < 19) {" on line 19. Change the 19 into 9, and you will get the link-to-Dropbox popup as described on this page. You can connect and you can upload; I've tested with 300Mb files and it works.
Of course, THIS STOPS WORKING as soon as the plugin gets an update and any changes are reverted.
I am having the same issue. Just bought the plugin today and have spent ages configuring. Now I want to connect it to Dropbox and I cant.
Its a 64bit server and there are no other dropbox plugins. The ‘Press Here’ does nothing. I have tried Chrome and IE.
Any ideas?
Hi, when you open the main page of the plugin in Dashboard, you see the version of the plugin. Do you see next to the version number a message saying “You have the latest version” or something like this?
It says 3.9.5
Looking deeper into the console I am getting a Server 500 error on ajax-admin.php
There are 2 possible reasons for this problem:
a. Memory problems. Please try to increase the memory of your WordPress website.
b. Your host rejects ajax-admin.php requests for some reason. You need to get in contact with them and ask them.
Regards
Nickolas
I am having the same problem as David. I am using a small AWS instance. i have increased my memory. Any other ideas?
Hi, are you getting 500 Internal Server errors? Can you send me the error log of your web server at info@iptanus.com?
I have just downloaded 3.9.6 and am having the same issues. Is there any solution to this as Dropbox connectivity is the main reason I chose this plugin?
Hi Kevin, please send me a screenshot to info@iptanus.com of what do you see when you open Main tab in plugin’s area in Dashboard
Regards
Nickolas
Hi all,
I have the same problem : nothing happens when pressing Dropbox “press here” button.
Wordpress is 4.7.2, File Upload is 3.9.6, server is 32bits with php 7.1.1
In advanced parameters, I tried some Dropbox settings
There is no other plugin using Dropbox, I also tried other themes.
No success yet.
Thanks for help.
JL
If you have 32bit version then try to activate option Force Dropbox to Work for 32bit Servers (set it to true) in Advanced tab in plugin’s area in Dashboard.
Regards
Nickolas
Hi Nickolas,
thanks but this is one thing I tried in the Advanced tab but with no success.
Another question : when userXYZ uploads files to wp-content, who is the owner of those files ?
Or say it differently, can you force owner of the uploaded files to be userXYZ ?
Thanks
Jean-Luc
Please go to the Main tab of the plugin’s area in Dashboard and send me to info@iptanus.com a screenshot of what you see.
Regarding the second question, yes you can change the owner of the file. Use the File Browser in Dashboard area of the plugin, locate the file, open it for editing and from there you will be able to change the owner (the one who uploaded the file).
Regards
Nickolas
HI,
thanks to Nickolas it works perfectly now.
Great and quick support.
Regards
JL
I have the Pro version setup and I’m trying to get Dropbox to Upload from WordPress to Dropbox Automatically without having to go to the File Uploads Control Panel and click Upload to Dropbox.
How would I do this?
Regards,
Mike
Hi, you need to activate Dropbox in the upload form you have set up. You can do this using the visual editor. Go to Interoperability tab. There you will be able to activate Dropbox uploads. After you do that, when a file is uploaded it will be transferred to Dropbox automatically.
Nickolas
Hello Nickolas,
I already have this set to ON and also set to KEEP A COPY.
How it looks:
[wordpress_file_upload placements=”userdata/filename+selectbutton+uploadbutton/message” userdata=”true” userdatalabel=”Company Name|t:text|s:top|r:1|a:0|p:right|d:/Additional Notes about Images|t:multitext|s:top|r:0|p:right” dropbox=”true”]
It seems to be working now.
Not sure why all I changed was Local File Action to Delete.
Thanks for replying to me,
Mike
Ok good
Regards
Nickolas
Hi,
I’ve selected DROPBOX upload in interopability.
However I cannot get the Dropbox uploads ACTIVATED in the settings tab. When I click “press here”, nothing happens.
Thanks
Mel
Hi, when you go to Main tab in plugin’s area in Dashboard, do you see any errors?
Nickolas
The comment did not let me copy the error messages I see in the console (“security error), I will try here but I will probably have to edit out some of the text
Looking at the browser console I can see:
POST /admin-ajax.php 500 (Internal Server Error)
ok let’s try first to fix the Dropbox button issue
Nickolas
..more errors (heavily edited)
wfu dropbox authorise app start wordpress file upload adminfunctions js 394
on click options general.php page = wordpress file upload action = plugin settings 326
userdata=”true”
userdatalabel=”
Firstname|t:text|s:left|r:0|a:0|p:inline|d:/
Lastname|t:text|s:left|r:0|a:0|p:right|d:/
ID|t:text|s:left|r:0|a:0|p:right|d:/
Email|t:text|s:left|r:0|a:0|p:right|d:
”
How can I pass a prefilled VALUE to the input fields? (from a GET parameter or a shortcode)
Thank you
Hi, this is not so straightforward. I suppose it can be done with some Javascript code, right after the page loads. The code will read the value (probably stored in an element) and and put it in the right input field. I can help you with the code.
Regards
Nickolas
hello,
i activated dropbox uploads, but my files are signed as pending in in the file transfer dialogue, they are just uploaded to WP upload…i tried different dropbox paths with no success…
[wordpress_file_upload singlebutton=”true” fitmode=”responsive” placements=”title+message/selectbutton+filename+filelist” notify=”true” notifyrecipients=”info@ADK.ch” dropbox=”true” dropboxpath=”/ADK_Input” dropboxlocal=”delete”]
Hi, which version of the plugin do you have?
Regards
Nickolas
Hi, this plugin was transferring files to dropbox perfectly then one day it just stopped, i have tried a lot of things to get the files sent to dropbox but no luck, it uploads to the directory still, any ideas
Thanks
Adam
Hi Adam, do you have access to the error log of your domain? Maybe there is something recorded there that could help.
Go to plugin’s area in Dashboard, in Maintenance Actions tab and press “Reset Dropbox Uploads” button. Do you see any change?
Nickolas
Nickolas
How do I find my Dropbox path please?
Regards
Peter
When you open the visual editor of the shortcode and go to Interoperability tab you will see the Dropbox settings. In there you will see Dropbox Path. An empty path means that files will be uploaded to the root of the Dropbox account.
Nickolas
Hi Nickolas
I am setting up File Uploader Pro on Staging but I am unable to activate the Dropbox functionality. Looking at the debug log, I see;
10-Jan-2018 08:56:48 UTC] PHP Fatal error: Call to a member function get_page_permastruct() on null in /home/content/n3pnexwpnas02_data02/69/41206369/html/wp-includes/link-template.php on line 357
[10-Jan-2018 12:14:40 UTC] PHP Warning: file_get_contents(https://services2.iptanus.com/wp-admin/admin-ajax.php): failed to open stream: Connection refused in /home/content/n3pnexwpnas02_data02/69/41206369/html/wp-content/plugins/wordpress-file-upload-pro/lib/wfu_functions.php on line 2802
[10-Jan-2018 12:23:21 UTC] PHP Warning: file_get_contents(https://services2.iptanus.com/wp-admin/admin-ajax.php): failed to open stream: Connection refused in /home/content/n3pnexwpnas02_data02/69/41206369/html/wp-content/plugins/wordpress-file-upload-pro/lib/wfu_functions.php on line 2802
[10-Jan-2018 12:23:21 UTC] PHP Catchable fatal error: Argument 1 passed to Kunnu\Dropbox\Dropbox::__construct() must be an instance of Kunnu\Dropbox\DropboxApp, null given, called in /home/content/n3pnexwpnas02_data02/69/41206369/html/wp-content/plugins/wordpress-file-upload-pro/extensions/wfu_dropbox/_wfu_dropbox.php on line 23 and defined in /home/content/n3pnexwpnas02_data02/69/41206369/html/wp-content/plugins/wordpress-file-upload-pro/vendor/dropbox2/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php on line 103
On the Status page
Edition Professional
Version 4.2.0 Iptanus Services Server is unreachable. This may cause problems in some plugin functions. Please contact info@iptanus.com for details.
Server Environment 64bit (Your server supports files up to 1 Exabyte, practically unlimited)
Hi, when you go to Main tab of the plugin’s area in Dashboard, do you see any message like “Iptanus server unreachable”?
Regards
Nickolas
Hi
I see the Iptanus server unreachable, in Settings and WordPress File Upload screen
Gerard
Hi, please read this article for resolution.
Regards
Nickolas
Same here “Iptanus Services Server is unreachable”.
My server environment is 64 bit, PHP 5.6.33 and file upload pro 4.2.0
Unable to activate the Dropbox functionality.
Hi, please read this article for resolution.
Regards
Nickolas
HI
I am able to connect to the Google server, can you confirm the format of “Dropbox Default Path” is it relative to the starting folder , e.g “test/test1/test2”
Thank you
Hi, the Dropbox path is normally defined through the shortcode. So if you open the visual editor of the plugin and go to Interoperability tab, there you will see an option to activate Dropbox in the shortcode and also define Dropbox Path, which is relative to your Dropbox account root path. You do not need to define ‘Dropbox Default Path’ in Settings.
Regards
Nickolas
Hi, Thank you , I have been able to get the file uploaded to the server and also to Dropbox. Another issue has come up , I would like to have the precede the filename with the username, if I add %username% to the upload path, the upload fails as the upload goes to “*uploads/bob/file.text”, what I would like to achieve “*uploads/bob.file.text”
Thanks again
My server has a fairly low limit for filesize when uploading. Does your pro version of the plugin bypass the server’s upload limit so large files can be uploaded directly to my Dropbox?
Yes the Pro version bypasses server limits. What file sizes are you expecting?
Regards
Nickols
hello i purchased the Pro version and have activated dropbox uploads, but my files are signed as pending in in the file transfer dialogue, they are just uploaded to WP upload…i tried different dropbox paths and other dropbox accounts with no success…
i sent you a personal email 4 days ago with screenshots of all the settings i inputed.
Please help!
Hi, I didn’t see your emails I am sorry. Send me your shortcode to check. As an initial action, go to Maintenance Actions in Dashboard area of the plugin and press “Reset Dropbox Uploads” button. Any change?
Regards
Nickolas
Hi Nickolas,
many thanks for developing the File Upload plugin.
I just purchased the Pro version and I seem to be having some issues with enabling file upload to my dropbox account. I try to follow the instructions that you have here, but when I press the “Press here” button, either being on Firefox or Chrome, it doesn’t do anything (I suppose there should be some kind of pop-up window or something).
Am I doing something wrong?
Thanks!
Kostas
Fixed! I had to make proper connection to “iptanus”.
Keep up the good work!
I was just about to suggest it to you. Let me know if you have any other issues.
Καλό μεσημέρι
Nickolas
We have the pro version and have enabled Dropbox uploads. The files are uploaded to the WordPress server but don’t get uploaded to Dropbox. They are stuck in the Pending File Transfers queue
Our shortcode
[wordpress_file_upload multiple=”false” createpath=”false” redirect=”true” redirectlink=”/thankyou/” placements=”userdata/title/filename+selectbutton+uploadbutton/subfolders/captcha/filelist/message” notify=”true” notifyrecipients=”rmechlin@webdesigns.net” notifymessage=”Dear Larry,%n%%n%A new file has been uploaded from:%n%Filename: %filename%%n%Company: %userdata1%%n%Email: %userdata2%%n%Docket Number:%userdata3%%n%%n%Best Regards” widths=”userdata:500px” heights=”userdata_label:50px” userdata=”true” userdatalabel=”Company Name|t:text|s:left|r:1|a:0|p:inline|d:/Email Address|t:email|s:left|r:1|a:0|v:1|p:right|d:|g:0/Docket Number|t:text|s:left|r:0|a:0|p:right|d:” dropbox=”true” dropboxpath=”/website_uploads/”]
Hi, I send you debug instructions in your email.
Regards
Nickolas
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
Hi Nikolas,
Is there anything else we can try to do?
Thanks,
Evan
Hi Nikolas,
I have just purchased the pro version and activated Dropbox Uploads. The files are uploaded to the WordPress server but for some reason they are not uploaded to Dropbox, and remain stuck in the Pending File Transfers queue. Can you help? The short code I’m using is:
[wordpress_file_upload multiple=”false” uploadpath=”uploads/bienalxvi” fitmode=”responsive” duplicatespolicy=”maintain both” redirect=”true” redirectlink=”https://www.caappr.org/eventos/bienal-xvi-subir-archivos-exitoso/” placements=”title/filename+selectbutton+uploadbutton/progressbar/subfolders/userdata/message” uploadtitle=”Subir Archivos XVI Bienal” selectbutton=”Seleccionar Archivo” uploadbutton=”Subir Archivo” successmessage=”Archivo %filename% subido exitosamente” warningmessage=”Archivoi%filename% subido exitosamente pero con alertas” errormessage=”Archivo %filename% no pudo ser subido” waitmessage=”Subiendo archivo %filename%” dropbox=”true” dropboxpath=”/BienalXVI_Test”]