Support » Fixing WordPress » Updating from inside WP

  • Hi,

    When ever I want to update from inside WP – either WP or plug-ins – it does not work.

    My web-host says everything is fine and the can not tell me why is does not work. The have also tried but can not make it work.

    In the field: Hostname I write:
    and then I enter my username and password and try to upload via FTP from inside WP’s dashboard.

    The error says: Failed to connect to FTP Server

    And my firewall is open for port 21 – and I have NO problems in using Internet Explorer to connect with other FTP’s.

    Nowhere I wanna update via IE and inside WP do not succeed.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Jeremy Clark



    Your hostname isn’t your url it’s the name of the server your wordpress is hosted on. Sometimes it will be your top level domain name ie most likely though it will be localhost

    Hi Jeremy,

    I’m not sure I understand your answer. I now have tried inserting “localhost” instead of – but now it wont accept my username and password.

    I’m not quite sure what to write in the hostname. My username is also admin in the dashbord – althoug I changed the origin admin to something else.

    Can you please help me?

    Your hostname is “”. Not “”.

    Have you ever used an FTP program to connect to your site? Well, the “hostname” is the name of the site that you connect to.

    The username and password is the one you use for FTP, not the WordPress username and password.

    Hi Otto,

    Yes I have often used to connect to my site with a FTP-program and here I have no problems. But it still does not work for me when doing it inside WP.

    For connecting to my site via FTP I have to use to connect – but that does not work either. Have tried using – also but no luck.

    I have tried “all kinds” of passwords and usernames. And it does not work with the settings of any kind – neither the settings I’m using in my FTP-client.

    For connecting to my site via FTP I have to use to connect

    That doesn’t make any sense. You can’t connect to “” because that is not a hostname.

    A hostname is the name of a server. It does not have a path to a directory attached to it.

    A hostname is just the host’s name. or or any of these is the hostname.

    My host provider tells me it is I have to upload in – that’s what I’m doing when using a FTP client.

    What am I doing wrong?

    that’s what I’m doing when using a FTP client.

    No, you don’t, because that doesn’t make any actual sense.

    When you ftp to a site, you connect to a SITE. As in, you connect to or or These are hosts. There are all hostnames. They don’t have any /web after them. That’s a directory, it is not part of the hostname.

    When you use an FTP client, you first connect to some site. Then you navigate to some directory. Then you upload your files. WordPress doesn’t need to know the directory. It need to know the SITE. As in the HOSTNAME. What site do you connect to?

    Read here for more information:

    And if you can’t figure it out, then my advice would be to find somebody nearby who can help you and show you what you’re doing wrong, or to forget it entirely and upload your plugins manually.

    My host tells me that when uploading a webpage on my server I have to use the the folder “web” ( for uploading.

    When using my ftp-client I’m using the path – and it works fine. But I would much rather be able to do the updates from inside WordPress….

    Well, as written earlier I have also tried just using – etc. with my username and password as given to me from my host – but it still does not work.

    It simply can not be true I’m not able to do so.

    I have no idea what kind of wacky ftp client would accept that, however it remains incorrect no matter what you think.

    The “hostname” would be Period, end of discussion. If that fails to work, then it probably is never going to work. Sorry. Update manually instead.

    I have just tested in my ftp-client (TotalCommander) – and I can easily connect to via ftp. But when uploading to my web-page my web-host tells me that the remote directory is called – and that is where my WP, etc., is.

    But I guess it still does not make sense that I can not use the inside update in WordPress – right?

    Karsten, I and a lot of other people are/were having the exact same problem as you were. Here is a post with a few solutions/workarounds.

    The solution that worked for me was changing my host to read: localhost:21 and keeping my standard FTP username password. Hope that helps.

    Boy, was Otto ever being a sourpuss – and completely ignoring the fact that many web hosts set a clients FTP path to a set folder within their hostname, thereby bypassing all the cgi-bin, awstats, etc that they could inadvertently mess with. Why not simply explain that to the next person who has this confusion, instead of jumping up and down yelling “wrong! wrong! wrong!”

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Updating from inside WP’ is closed to new replies.