Support » Fixing WordPress » WP 3.0.3 / GoDaddy "Failed to connect to FTP Server"

  • After numerous installs, re-installs, GoDaddy (GD) tech support calls and WordPress (WP) forum searches, I am still unable to do simple things like install / upgrade / delete plugins or themes to my new blog. (I don’t have this problem with my older blog, also on WP/GD).

    I am to connect to my FTP via FileZilla (FZ) and GD’s web-based FTP client just fine, so this is not an issue of incorrect info. Every time I make a simple request like upgrading Aksimet within WP’s admin, I am taken to a screen requesting the following FTP credentials:

    Hostname
    FTP username
    FTP password
    Connection type

    I assure you with 100% certainty these items are being entered correctly. As stated before, I am able to access the FTP via FZ and GD’s web-based FTP client with no errors.

    One thing I cannot do via FZ or GD is delete or add files to any directory or folder within the FTP. I suspect this may have to do with setting file permissions, which I am not all that good at. I am the only user of the FTP, and apparently my owner status is not good enough to modify files. I suspect this may be a culprit.

    Any suggestions here? Thank you in advance for your help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • hard code them in your wp-config.php and it won’t prompt you again
    http://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants

    Thank you for replying, but is there any way to present this as a “WordPress FTP for Dummies” book would?

    Also, I am unable to upload files to my FTP, so even doing this only gets me so far.

    If you can’t add files by ftp on godaddy, something is jacked on their end…..

    there is no reason you should be unable to do that. And I’m sure whatever is blocking you is also blocking WP

    Wouldn’t you know it? Just successfully added and deleted a test file from the FTP. Appears that permissions via FZ are fixed.

    However, still unable to access via WP admin. Also, still need an English translation on how to update wp-config.php file.

    define('FTP_CONTENT_DIR', '/path/to/wordpress/wp-content/');
    define('FTP_PLUGIN_DIR ', '/path/to/wordpress/wp-content/plugins/');

    (The paths above need to be changed to actual paths)

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

    (Put the real info in above)

    Put the above lines in your wp-config.php
    download file and open in notepad or similar
    back it up
    add the lines with correct info above /* That's all, stop editing! Happy blogging. */
    save file
    upload back to site

    Here’s what I did. Took the “define” section of the PHP file:
    define(‘AUTH_KEY’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘SECURE_AUTH_KEY’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘LOGGED_IN_KEY’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘NONCE_KEY’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘AUTH_SALT’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘SECURE_AUTH_SALT’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘LOGGED_IN_SALT’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘NONCE_SALT’, ‘xxxxxxxxxxxxxxxxxxxx’);

    And added your additions to it:
    define(‘AUTH_KEY’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘SECURE_AUTH_KEY’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘LOGGED_IN_KEY’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘NONCE_KEY’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘AUTH_SALT’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘SECURE_AUTH_SALT’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘LOGGED_IN_SALT’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘NONCE_SALT’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘FTP_CONTENT_DIR’, ‘ftp://username@domain.com/wp-content’);
    define(‘FTP_PLUGIN_DIR ‘, ‘ftp://username@domain.com/wp-content/plugins’);
    define(‘FTP_USER’, ‘username’);
    define(‘FTP_PASS’, ‘password’);
    define(‘FTP_HOST’, ‘domain.com’);

    Still not working. Where did I mess up?

    –Andrew

    define(‘FTP_CONTENT_DIR’, ‘ftp://username@domain.com/wp-content’);
    this needs to be the path to your wp-content directory, you can get the path to your html folder from godaddy main admin panel. Then add the rest. Mine would be: /home/content/r/v/o/rvoodoo/html/wp-content/

    define(‘FTP_PLUGIN_DIR ‘, ‘ftp://username@domain.com/wp-content/plugins’);
    follows the same logic as above, with plugins/ added to the end

    define(‘FTP_USER’, ‘username’);
    this would be your ftp username

    define(‘FTP_PASS’, ‘password’);
    this would be your ftp password

    define(‘FTP_HOST’, ‘domain.com’);
    this would be your domain name

    Thank you. Updated as follows:

    define(‘AUTH_KEY’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘SECURE_AUTH_KEY’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘LOGGED_IN_KEY’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘NONCE_KEY’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘AUTH_SALT’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘SECURE_AUTH_SALT’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘LOGGED_IN_SALT’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘NONCE_SALT’, ‘xxxxxxxxxxxxxxxxxxxx’);
    define(‘FTP_CONTENT_DIR’, ‘/home/content/xx/xxxxxxx/html/wp-content/’);
    define(‘FTP_PLUGIN_DIR ‘, ‘/home/content/xx/xxxxxxx/html/wp-content/plugins/’);
    define(‘FTP_USER’, ‘xxxxxxxx’);
    define(‘FTP_PASS’, ‘xxxxxxxx’);
    define(‘FTP_HOST’, ‘domain.com’);

    Still no luck logging in. Any other suggestions?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘WP 3.0.3 / GoDaddy "Failed to connect to FTP Server"’ is closed to new replies.