Title: thfcme@gmail.com's Replies | WordPress.org

---

# thfcme@gmail.com

  [  ](https://wordpress.org/support/users/thfcmegmailcom/)

 *   [Profile](https://wordpress.org/support/users/thfcmegmailcom/)
 *   [Topics Started](https://wordpress.org/support/users/thfcmegmailcom/topics/)
 *   [Replies Created](https://wordpress.org/support/users/thfcmegmailcom/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/thfcmegmailcom/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/thfcmegmailcom/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/thfcmegmailcom/engagements/)
 *   [Favorites](https://wordpress.org/support/users/thfcmegmailcom/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[RAD Dropbox Uploader] dir attribute not working](https://wordpress.org/support/topic/dir-attribute-not-working/)
 *  [thfcme@gmail.com](https://wordpress.org/support/users/thfcmegmailcom/)
 * (@thfcmegmailcom)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/dir-attribute-not-working/#post-3620954)
 * This is how I fixed the problem.
 * They have a class called dropbox.class.php
 * I added the following:
 * protected $newpath; (after line 4 protected $password;)
 * $newpath = $_POST[‘dest’]; (after line 148 $uploader = new Drop…)
 * Change
    $uploader->upload($tmpFile, $directory);
 * to
 * $uploader->upload($tmpFile, $directory . $newpath);
 * I couldn’t find where the shortcode directory was captured, so I made a new reference
   called $newpath, and that is sent to dropbox. The $newpath ADDS to the default
   directory you specified in the settings. So in default if you have /MyDrive and
   in your shortcode you have /Test1. It’ll upload to /MyDrive/Test1
 * Use at your own risk 🙂

Viewing 1 replies (of 1 total)