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