[wp-hackers] easy way to request ftp credentials and use them, when directory to write is not writable?..
Otto
otto at ottodestruct.com
Wed Sep 14 16:37:28 UTC 2011
On Wed, Sep 14, 2011 at 6:04 AM, Davit Barbakadze <jayarjo at gmail.com> wrote:
> Plugins usually request ftp credentials when they are not able to
> install themselves directly. Is there an easy way to leverage the same
> ftp credentials dialog in plugin/theme cases, when there's a necessity
> for example to put a file in a directory, which is not writable? Some
> Codex page on this maybe?
I wrote a tutorial on how to do exactly this:
http://ottopress.com/2011/tutorial-using-the-wp_filesystem/
-Otto
More information about the wp-hackers
mailing list