Updating from inside WP (13 posts)

  1. Karsten Jensen
    Posted 6 years ago #


    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: karstenjensen.dk/blog/
    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 karstenjensen.dk/blog/:21

    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.

  2. Jeremy Clark
    Posted 6 years ago #

    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 karstenjensen.dk most likely though it will be localhost

  3. Karsten Jensen
    Posted 6 years ago #

    Hi Jeremy,

    I'm not sure I understand your answer. I now have tried inserting "localhost" instead of karstenjensen.dk/blog - 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?

  4. Your hostname is "karstenjensen.dk". Not "karstenjensen.dk/blog".

    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.

  5. Karsten Jensen
    Posted 6 years ago #

    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 karstenjensen.dk/web to connect - but that does not work either. Have tried using karstenjensen.dk/blog - karstenjensen.dk/web/blot 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.

  6. For connecting to my site via FTP I have to use karstenjensen.dk/web to connect

    That doesn't make any sense. You can't connect to "karstenjensen.dk/web" 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. wordpress.org or example.com or any of these is the hostname.

  7. Karsten Jensen
    Posted 6 years ago #

    My host provider tells me it is karstenjensen.dk/web I have to upload in - that's what I'm doing when using a FTP client.

    What am I doing wrong?

  8. 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 google.com or wordpress.org or karstenjensen.dk. 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: http://en.wikipedia.org/wiki/Hostname

    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.

  9. Karsten Jensen
    Posted 6 years ago #

    My host tells me that when uploading a webpage on my server I have to use the the folder "web" (karstenjensen.dk/web) for uploading.

    When using my ftp-client I'm using the path http://www.karstenjensen.dk/web - 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 karstenjensen.dk - http://www.karstenjensen.dk http://www.karstenjensen.dk 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.

  10. 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 http://www.karstenjensen.dk. Period, end of discussion. If that fails to work, then it probably is never going to work. Sorry. Update manually instead.

  11. Karsten Jensen
    Posted 6 years ago #

    I have just tested in my ftp-client (TotalCommander) - and I can easily connect to http://www.karstenjensen.dk via ftp. But when uploading to my web-page my web-host tells me that the remote directory is called http://www.karstenjensen.dk/web - 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?

  12. barringtondesign
    Posted 6 years ago #

    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.

  13. manntis
    Posted 5 years ago #

    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!"

Topic Closed

This topic has been closed to new replies.

About this Topic