WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] WP asks for FTP user/pass when upgrading a plugin

[Resolved] WP asks for FTP user/pass when upgrading a plugin

  • Hello.

    On one of my blogs, everytime I have to upgrade a plugin, wordpress asks for my ftp username and password. How can I get rid of that? The other blog I have (hosted somewhere else) these details are not asked when upgrading a plugin directly from dashboard.

    Is there any way to stop WP from asking for my details?

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • esmi

    @esmi

    Forum Moderator

    From what I’ve seen, this seems to relate to ether the hosting provider or the way in which WP is first installed (e.g using Fantastico). Unfortunately, I don’t know of any way to stop the request for FTP details or a way to save those details for future use. 🙁

    Nope, I didn’t use fantastico to install wp. Anyway, thanks 🙂

    So the topic is still not resolved, does anyone know how to get rid of that request?

    wattt,

    I’ve always looked at this as a security feature but It is best to upgrade a plugin through FTP regardless.

    wordpress asks for my ftp username and password. How can I get rid of that?

    Can put these in wp-config.php

    define('FTP_USER', 'username');
    define('FTP_PASS', 'password');
    define('FTP_HOST', 'ftp.example.org:21');

    Related;
    http://codex.wordpress.org/Editing_wp-config.php#FTP.2FSSH_Constants

    esmi

    @esmi

    Forum Moderator

    I wonder if some providers that offer 1-click installs are adding these additional settings to wp-config.php?

    ask your host to install/recompile suPHP. that would get rid of the problem..

    There is also a plugin that remembers the ftp login/password

    Thanks for the info. MichaelH, your method worked.

    doc4, you are right, but when using a lot of plugins that require frequent updates, it takes too much.

    Thanks again.

    I wonder how I’ll be able to get the ftp user name and password when I use http://myname.wordpress.com. (Hosting provider?)
    I’d like to put differnet theme from smashing magazine but as a new blogger-would be blogger- I don’t know, ftp or php things. Could you help me, please?
    Thank you

    i am puzzling over these thing now. i host my own site so i have complete control over things.

    i can give a username and pw but i get the error wp-content not found.

    subsequently i believe that i must create a user on the server called “wordpress” that will have its home dir set to /usr/share/wordpress (where wordpress is on my machine).

    subsequently i can give write accesss privledges to the wordpress user/group only.

    by restring read/write privledges to a wordpress group this could solve allot of the problems that might be coming from some admins setting file permissions to loosely which could open the door to hacking.

    this is educated speculation but i believe it is the path to a more secure wordpress.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] WP asks for FTP user/pass when upgrading a plugin’ is closed to new replies.
Skip to toolbar