Support » Fixing WordPress » SFTP Centos and Plugin Installation

  • I have recently installed a new version of wordpress on a rackspace cloud server account. I have everything the way I need it except for an issue with FTP.

    I have installed vsftp and all seemed to be working fine until I tried to install a plugin at which point I am taken to a screen that asks for FTP or FTPS information (user, pass and host).

    I enter the info I know works (does in my ftp client) using the root account of the server. I get a message saying my username and password are incorrect? I tried again using the IP of the server instead of ‘localhost’ but still the same message.

    Any thoughts?

    Also, this is an unmanaged server so I cannot just call the host and have a quick fix…I have wrestle through it myself…at least until Monday when I was told I could get more assistance.

    Thanks in advance for anyone out there that can help (or tries to).


Viewing 1 replies (of 1 total)
  • Hi,

    It’s best to set these FTP information on your wp-config.php.

    You may want to start with

    define('FS_METHOD', 'ftpext');
    define('FTP_BASE', '/path/to/wordpress/');
    define('FTP_USER', 'username');
    define('FTP_PASS', 'password');
    define('FTP_HOST', 'localhost');
    define('FTP_SSL', false);

    If it doesn’t work, try another FS_METHOD.

    WordPress does throw “username and password are incorrect” error when it can not connect with the protocols used. For example, if you put

    define('FTP_SSL', true);

    and if you have not set up vsftpd with


    then it doesn’t show up something like “the protocol is not supported”. It just shows that “Username/Password incorrect for USERNAME”.

    Hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘SFTP Centos and Plugin Installation’ is closed to new replies.