• 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)
  • 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

    (@flowdsign)

    Thanks for the update,Mike! I’ll give it a try with that, though I already found a better solution with another plugin.

    What plugin are you using, if you don’t mind me asking?

    Thread Starter flowDsign

    (@flowdsign)

    I’m using 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.