Title: [Plugin: Secure Files] Uploading Error
Last modified: August 19, 2016

---

# [Plugin: Secure Files] Uploading Error

 *  [flowDsign](https://wordpress.org/support/users/flowdsign/)
 * (@flowdsign)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-secure-files-uploading-error/)
 * For now this plugin gives me the “You don’t have sufficient permissions…” error
   while trying to upload with WP 3.0.3. For a secure connection inside WP (since
   I needed the files to be stored inside wp-content or root area), I’ve made some
   tweaks with inserting a .htaccess file restricting permissions and modified the
   code to pass this file from showing in available downloads.
    Other than that,
   I have to upload the files through FTP and can be downloaded securely from the
   WP dashboard under Tools > Security Files by other admins for example. Fixing
   the above issues would make this plugin a simple easy to use secure file manager
   for admins or in my case the clients I give the WP solution and want to have 
   all the back-up files and sources in there.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [MikeNGarrett](https://wordpress.org/support/users/mikengarrett/)
 * (@mikengarrett)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-secure-files-uploading-error/#post-1824057)
 * **Find this line: **
 *     ```
       if (get_bloginfo('version') >= '2.7') {
       		  $sfwp_url = get_bloginfo('wpurl') . '/wp-admin/tools.php?page=secure-files.php';
       	  } else {
       		  $sfwp_url = get_bloginfo('wpurl') . '/wp-admin/edit.php?page=secure-files.php';
       		}
       ```
   
 * **Replace it with the following code:**
 *     ```
       // Set default for versions older than 2.7
       		$sfwp_url = get_bloginfo('wpurl') . '/wp-admin/edit.php?page=secure-files.php';
       		// Set default url for versions up to 2.7
       		if (get_bloginfo('version') >= '2.7') {
       			$sfwp_url = get_bloginfo('wpurl') . '/wp-admin/tools.php?page=secure-files.php';
       		}
       		// Set default url for versions greater than 3
       		if (get_bloginfo('version') >= '3') {
       			$sfwp_url = get_bloginfo('wpurl') . '/wp-admin/tools.php?page=secure-files/secure-files.php';
       		}
       ```
   
 *  Thread Starter [flowDsign](https://wordpress.org/support/users/flowdsign/)
 * (@flowdsign)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-secure-files-uploading-error/#post-1824058)
 * Thanks for the update,Mike! I’ll give it a try with that, though I already found
   a better solution with another plugin.
 *  [MikeNGarrett](https://wordpress.org/support/users/mikengarrett/)
 * (@mikengarrett)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-secure-files-uploading-error/#post-1824059)
 * What plugin are you using, if you don’t mind me asking?
 *  Thread Starter [flowDsign](https://wordpress.org/support/users/flowdsign/)
 * (@flowdsign)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-secure-files-uploading-error/#post-1824060)
 * I’m using [Download Manager](http://wordpress.org/extend/plugins/download-manager/).
   It seems like a good plugin, it’s well developed and up to date.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Secure Files] Uploading Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/secure-files.svg)
 * [Secure Files](https://wordpress.org/plugins/secure-files/)
 * [Support Threads](https://wordpress.org/support/plugin/secure-files/)
 * [Active Topics](https://wordpress.org/support/plugin/secure-files/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/secure-files/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/secure-files/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [flowDsign](https://wordpress.org/support/users/flowdsign/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-secure-files-uploading-error/#post-1824060)
 * Status: not resolved