Community
    • Login

    FTP plugin problem | errorcode 123

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 4.1k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Евгений ПикаловЕ Offline
      Евгений Пикалов
      last edited by Евгений Пикалов

      Hi there. I was trying to use notepad++ ftp plugin to have access to my website files. I only can see my website. If I try to open them somehow I have the following error:
      Failed to create directory C:\Users\PIikalov\AppData\Roaming\Notepad++\plugins\Config\NppFTP\Cache\odessasturgeon.com|turgeonFTP@85.238.100.83\Configs\ with errorcode 123
      Download of /Configs/Counters.config failed

      I tried different files to open, have installed different versions of Notepad++(the latest one x86 and x64, 7.1 x86). I`ve got Windows 7x64 on my PC.
      I look through the topics here and on other forums. I can t found this “errorcode 123” nowhere.
      If somebody knows how to solve this problem please tell me. Thanks.
      P.S.: Sorry for my English.

      1 Reply Last reply Reply Quote 0
      • Евгений ПикаловЕ Offline
        Евгений Пикалов
        last edited by

        By the way I forgot to mention that I also tried to open Notepad++ as Administrator and put on all rights for all users.

        1 Reply Last reply Reply Quote 0
        • PeterJonesP Offline
          PeterJones
          last edited by

          I did a quick search in the NppFTP GitHub repo, and found that the “Failed to create directory … with errorcode …” message comes from PathUtils.cpp PU::CreateLocalDir(), which is calling the Windows API SHCreateDirectoryEx(). MSDN’s System Error Codes shows that errorcode 123 is ERROR_INVALID_NAME: “The filename, directory name, or volume label syntax is incorrect.”

          I see a vertical bar in the name you quoted (C:\Users\PIikalov\AppData\Roaming\Notepad++\plugins\Config\NppFTP\Cache\odessasturgeon.com|turgeonFTP@85.238.100.83\Configs\): when I try to create Windows filenames or foldernames with a vertical bar, Windows won’t let me. Assuming you didn’t edit the error message to hide proprietary information, I think that’s what’s causing the error. NppFTP should check for invalid characters, and possibly replace with a valid character, before trying to call SHCreateDirectoryEx.

          Given that, I suggest that you create an issue at the NppFTP bugtrack on GitHub, with the full text from your initial post here, plus a link to this thread https://notepad-plus-plus.org/community/topic/15373/ftp-plugin-problem-errorcode-123.

          Евгений ПикаловЕ 1 Reply Last reply Reply Quote 1
          • Евгений ПикаловЕ Offline
            Евгений Пикалов @PeterJones
            last edited by

            @PeterJones , thank you so much. I was looking for this pathethic mistake for few days.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors