How To New Feature Tips

WPDM Dropbox Explorer – Complete Setup Guide & Documentation

Shahjada Entrepreneur, Software Engineer, and…
March 8, 2015 6 min read
How to Use Dropbox to Store Files and Allow Users to Download from Your Website

WPDM Dropbox Explorer seamlessly integrates your Dropbox storage with WordPress Download Manager, allowing you to serve files directly from Dropbox without consuming your server’s bandwidth or storage space.

Key Features

  • Direct Dropbox Integration – Browse, select, and attach files from your Dropbox account directly within the package editor
  • File & Folder Support – Attach individual files or entire folders to your download packages
  • Built-in File Explorer – Full-featured admin file manager to browse, upload, create folders, and manage your Dropbox files
  • Frontend Dropbox Explorer – Display your Dropbox files to visitors using shortcode, Gutenberg block, or Elementor widget
  • Bandwidth Optimization – Stream files directly from Dropbox servers, reducing your hosting bandwidth usage
  • Secure OAuth 2.0 – Industry-standard authentication with automatic token refresh
  • Thumbnail Previews – Automatic image and document thumbnails for visual file identification
  • Search Functionality – Search files within your Dropbox storage
  • Dark Mode Support – Follows WordPress theme preference

Requirements

  • WordPress Download Manager Pro 6.0.0 or higher
  • Dropbox account (free or premium)
  • Dropbox API App credentials (App Key & Secret)
  • PHP 7.4 or higher

Dropbox App Setup (Step-by-Step)

Step 1: Create a Dropbox App

  1. Go to the Dropbox App Console
  2. Click “Create app” button
  3. Select “Scoped access” as the API type
  4. Choose “Full Dropbox” to access all files, or “App folder” for limited access
  5. Enter a unique name for your app (e.g., “MyWebsite Download Manager”)
  6. Click “Create app”

Step 2: Configure App Permissions

After creating the app, go to the “Permissions” tab and enable the following scopes:

  • account_info.read – Read account information
  • files.metadata.read – Read file and folder metadata
  • files.content.read – Download file contents
  • files.content.write – Upload and modify files

Click “Submit” to save permissions.

Step 3: Get App Credentials

  1. Go to the “Settings” tab of your Dropbox app
  2. Copy the App Key
  3. Click “Show” next to App Secret and copy it

Step 4: Add Redirect URI

  1. In the “Settings” tab, scroll to “OAuth 2” section
  2. Under “Redirect URIs”, add your site’s redirect URL:
    https://yourwebsite.com/dropbox-redirect
  3. Click “Add”

Important: Replace yourwebsite.com with your actual domain. The redirect URI is also displayed in WPDM Settings → Dropbox Connect tab.

Step 5: Configure WPDM Settings

  1. In WordPress admin, go to Downloads → Settings → Dropbox Connect
  2. Select your Account Type (Personal or Business)
  3. Enter the App Key from Step 3
  4. Enter the App Secret from Step 3
  5. Click “Save Changes”

Step 6: Connect Your Account

  1. After saving credentials, click the “Connect to Dropbox” button
  2. A popup window will open asking you to authorize the app
  3. Click “Allow” to grant access
  4. The popup will close and you’ll see a green “Connected” status

Step 7: Set Root Folder (Optional)

After connecting, you can optionally set a Root Folder to limit browsing to a specific Dropbox folder. Leave empty to access your entire Dropbox.


Using Dropbox with Packages

Attaching Files from Dropbox

  1. Edit or create a new download package
  2. In the “Attach File” metabox, click the “Select From Dropbox” button
  3. Browse your Dropbox folders in the popup file picker
  4. Select files or folders by clicking the checkbox
  5. Click “Attach Selected” to add them to your package

File Picker Features

  • List/Grid View – Toggle between compact list and visual grid layouts
  • Create Folder – Create new folders directly from the picker
  • Upload Files – Drag and drop files to upload to Dropbox
  • Multi-Select – Select multiple files/folders at once
  • Breadcrumb Navigation – Easy navigation through folder hierarchy

Dropbox Explorer (Admin)

Access the full Dropbox file manager from Downloads → Dropbox in your WordPress admin. This provides:

  • Complete file and folder browsing
  • File upload with drag-and-drop
  • Folder creation and deletion
  • File search functionality
  • Direct download links

Frontend Dropbox Explorer

Display your Dropbox files to website visitors using any of these methods:

Shortcode

[wpdm_dropbox_explorer path="/Public/Documents" title="Shared Files" height="500px" allow_download="1"]

Shortcode Parameters

ParameterRequiredDefaultDescription
pathYesDropbox folder path (e.g., “/Public/Docs”)
titleNoFolder nameCustom title displayed in header
heightNo500pxExplorer height (px, vh, or %)
allow_downloadNo1Enable downloads (1=yes, 0=no)
classNoAdditional CSS classes

Shortcode Examples

// Basic usage
[wpdm_dropbox_explorer path="/Public"]

// Custom title and height
[wpdm_dropbox_explorer path="/Documents" title="Company Documents" height="600px"]

// Read-only gallery (no downloads)
[wpdm_dropbox_explorer path="/Media/Photos" allow_download="0" height="400px"]

// With custom CSS class 
[wpdm_dropbox_explorer path="/Downloads" class="my-custom-explorer"]

Gutenberg Block

  1. In the block editor, click “+” to add a new block
  2. Search for “Dropbox Explorer”
  3. Add the block to your page
  4. Configure settings in the block sidebar:
    • Path – Enter Dropbox folder path
    • Title – Optional custom title
    • Allow Downloads – Toggle on/off
    • Height – Adjust using slider
  5. Style options available for colors, borders, and shadows

Elementor Widget

  1. In Elementor editor, search for “Dropbox Explorer” widget
  2. Drag it to your page
  3. Configure in the Content tab:
    • Dropbox Folder Path
    • Title
    • Allow Downloads toggle
  4. Customize in the Style tab:
    • Dimensions (responsive height)
    • Container styling (border radius, shadow)
    • Header colors
    • File list styling
    • Download button appearance

Frontend Explorer Features

  • Responsive Design – Works on all devices
  • List/Grid Toggle – Users can switch view modes
  • Breadcrumb Navigation – Easy folder traversal
  • Search – Find files within the explorer
  • Secure Downloads – Temporary links prevent direct Dropbox URL exposure
  • Dark Mode – Automatically follows site theme preference

How Downloads Work

When a user downloads a Dropbox file from your site:

  1. User clicks the download button
  2. WPDM generates a temporary download link (valid for 4 hours)
  3. User is redirected to download directly from Dropbox servers
  4. Download is logged in your WPDM download history
  5. Your server bandwidth is NOT used

Folder Downloads

When you attach a Dropbox folder to a package:

  • Frontend shows a “Browse” button instead of direct download
  • Users can browse the folder contents
  • Individual files can be downloaded from within the folder

Troubleshooting

“Not Connected” Error

  • Verify App Key and Secret are correct
  • Ensure Redirect URI in Dropbox app matches your site URL exactly
  • Check that required permissions are enabled in Dropbox app
  • Try disconnecting and reconnecting

Files Not Showing

  • Check if Root Folder setting is limiting access
  • Verify the folder path exists in Dropbox
  • Ensure files are not in Dropbox trash

Download Links Expired

  • Dropbox download links are valid for 4 hours
  • Page refresh generates new links
  • This is normal Dropbox API behavior for security

Token Refresh Issues

  • The plugin automatically refreshes tokens
  • If connection fails, disconnect and reconnect in settings
  • Check server can make outbound HTTPS requests

Security Notes

  • OAuth 2.0 – Secure industry-standard authentication
  • No Password Storage – Only OAuth tokens are stored
  • Temporary Download Links – Links expire after 4 hours
  • Path Validation – Prevents directory traversal attacks
  • Permission Checks – Admin functions require proper capabilities
  • Transient-based Sessions – Frontend explorer uses secure session tokens

Changelog

Version 2.0.1

  • Complete rewrite with modern architecture
  • Added Gutenberg block support
  • Added Elementor widget
  • New frontend explorer shortcode
  • Improved OAuth token management
  • Dark mode support
  • Enhanced file picker UI
  • REST API improvements
Share this article

Write a comment...

33 Comments

  1. Marcus Shita

    Hello

    please assist, can I connect the Dropbox Business account to my WPDM website?
    I needed more storage for more space but I only see an option for Dropbox personnal.

    1. Shahjada

      Hi,
      Dropbox business API is different, we are coming with a separate add-on for that.

      1. Marcus Shita

        Hello

        Since we are planning to offer store and sell more videos from our different vendors on our marketplace, which Dropbox plan would be good for us.

        we need more storage space and fell secure this is why I went on buying a Dropbox business subscription.

        please assist. should I move to a better Dropbox personal

        1. Shahjada

          We don’t have dropbox business add-on yet and don’t have a specific time of release. However, you may use Amazon S3 ( https://www.wpdownloadmanager.com/download/wordpress-amazon-s3-storage-plugin/ )

  2. Tash Toehat

    Hello,

    I have used the latest Dropbox add on v 1.4.4 but I’m seeing that the user is still redirected to Dropbox to then select the file and choose Download. I was hoping that the user could simply download it without any redirect?

    Can you please check it, because I saw on the previous comments that you said user should able to download directly without need to redirect to Dropbox website.

    Thank you.

    1. Shahjada

      That is possible with the wpdm pro + dropbox personal account.

      1. Tash Toehat

        Hello,

        What about Box.com add-on? Should I need the WPDM pro only and then users can directly download file without need to be redirected to the Box.com website?

        Is there any requirement on the technical site? Thanks.

  3. Sef Hendrickx

    Hi,

    I’ve set up packages where i import several images through Dropbox.
    I want to preview the images form those url’s/ID’s.

    Right now i’m getting a 404-image on all items that are included in the package. Please advice.

    On all the demo’s i’ve checked before purchasing they’d shown a preview. I use Dropbox to restrict the heavy load on the server. We are talking about 3000 images divided on several packages.

    Thank you.

    1. Shahjada

      It may requires additional code customization, please give me your URL to check your situation in details.

        1. Shahjada

          Yes, file preview for dropbox will require additional customization. Please contact https://www.wpdownloadmanager.com/download/custom-upgrade-service/ for quote.

  4. Fernando Lisboa

    Question, a file don’t upload to your wordpress site ? just put a link to a dropbox ? if is this save space on installation host and use a dropbox space, its right this. ?

    1. Shafayet

      Yes, that’s right.

  5. Tom Muho

    Hi,

    I have everything updated to the latest version but clicking on the download link still redirects to Dropbox instead of just downloading the .zip file. How can I fix this?

    1. Shahjada

      Hi,
      You may need to reattach the file. Also, to use dropbox add-on with its full potential, your server’s php version needs to be 7.1+.

      1. Tom Muho

        Thanks, but it doesn’t change anything how many times I reattach the file. It keeps redirecting to Dropbox.

        Are you sure that this problem can be caused by the version of PHP I’m using and why would that matter?

        1. Shahjada

          The new Dropbox SDK requires the php version, otherwise, it uses the legacy option “file picker”.

  6. polkadotchair

    Getting the FILE-NOT-FOUND.txt error with all downloads added from dropbox now since update. Please check/

    1. Shahjada

      Please mail temporary wp-admin login info of your site to support@wpdownloadmanager.com to check the issue.

  7. polkadotchair

    I updated to the new version and I don’t have the select from dropbox option any more.

  8. Dave Hooper

    I want to make sure I understand how this plugin is intended to work. I’m seeing that the user is redirected to Dropbox to then select the file and choose Download. I was hoping it would simply provide a link to the .zip file I’m linking and download it without any redirect. Is this possible?

    1. Shafayet

      Hi,
      Please update the Dropbox add-on. Now it should direct download instead of redirecting to Dropbox.

  9. Steve

    Hi There,

    I’m testing the plugin with the intention of going with the pro version.

    I get to step 6. Paste the api key in Dropbox API Credentials >> Api Key Field and Save Settings. But it wont save.

    Any advice would be appreciated.

    Thanks,
    Steve

    1. Shahjada

      This could be an issue related to your server. If you are using SiteGround, you have to add the following to your site’s .htaccess file to get it to work:

      <IfModule mod_security.c>
      SecFilterRemove 001868
      </IfModule>
      
  10. Rimulator

    Is there a way to share a folder within Dropbox, rather than share files one at a time?

    1. Shaon

      Dropbox chooser doesn’t have the option to select folder, but you can copy the folder link manually from dropbox account and attach with wpdm package as URL

  11. JulianA

    I left this as a reply to your answer yesterday but haven’t heard anything back. So I am leaving it as another comment.

    Thank you, your advise worked. One last thing do you have any user guides or tips on how to set up the download manager? Will all my files show up on one main page? How do I make it password protected? And what do you feel is the best way to create/ change the image for the files? I am using this right now as an password protected area where participants can download the information they need for the program they will be in. I have 10 files with more added weekly. I would like for the presentation of this to be top notch so seeking advise.

    Jan 7, 2016 at 3:43 pm Reply

    1. Shaon

      Please post in forum here http://www.wpdownloadmanager.com/support/ to plugin support.

  12. JulianA

    I am stuck on step 4. I do not see the page “Create a new app on the DropBox Platform” Where is that located?

      1. JulianA

        Thank you that worked. One last thing do you have any user guides or tips on how to set up the download manager? Will all my files show up on one main page? How do I make it password protected? And what do you feel is the best way to create/ change the image for the files? I am using this right now as an password protected area where participants can download the information they need for the program they will be in. I have 10 files with more added weekly. I would like for the presentation of this to be top notch so seeking advise.

  13. salgonzalez

    Hello, I am trying to install the Dropbox plugin however I am having an issue with steps 5. I have the add on installed but I do not have a cloud storage tab.

    1. Shaon

      For cloud storage tab you need to latest version of wpdm pro or free and dropbox add-on installed and active