Community
    • Login

    nppftp and and windows 11

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    4 Posts 2 Posters 98 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.
    • Afik GilboaA Offline
      Afik Gilboa
      last edited by

      in windows 11, the plugin reset itself every time i open npp
      a tried solutions from the internet (AI) but nothing helps.
      please help

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

        @Afik-Gilboa said:

        in windows 11, the plugin reset itself every time i open npp

        Could you be a little more specific?

        For one, add your ?-menu’s Debug Info, which will tell us exactly which version of Notepad++ and which version of NppFTP you are using.

        For another, what do you mean by “reset itself”? Does that mean that all the settings go away? Or that just your profiles go away but not your other settings? Or does that mean the panel positions reset? Or something else happens?

        I have been running NppFTP (0.29.15) on recent Notepad++ versions on Windows 11 for over a year, and it’s never “reset itself” in any way that I would consider a reset. So without more information, “I cannot replicate.”

        Afik GilboaA 1 Reply Last reply Reply Quote 0
        • Afik GilboaA Offline
          Afik Gilboa @PeterJones
          last edited by

          @PeterJones by reset itself i mean only the plugin
          and i mean it revert back to the state it was when i first installed it
          meaning no profiles, and everything else i changed also reset.
          simply a TOTAL reset of the plugin.

          and here is the debug info:
          Notepad++ v8.9.6.4 (64-bit)
          Build time: Jun 3 2026 - 23:47:49
          Scintilla/Lexilla included: 5.6.2/5.4.9
          Boost Regex included: 1_90
          pugixml included: 1.15
          nlohmann JSON included: 3.12.0
          Path: C:\Program Files\Notepad++\notepad++.exe
          Command Line:
          Admin mode: ON
          Local Conf mode: OFF
          Cloud Config: C:\Users\אפיק גלבוע\Documents\NppSettings
          WinGUp: present
          disableNppAutoUpdate.xml: absent
          Periodic Backup: ON
          Placeholders: OFF
          Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1)
          Multi-instance Mode: monoInst
          asNotepad: OFF
          File Status Auto-Detection: cdEnabledNew (for current file/tab only)
          Dark Mode: ON
          Display Info:
          primary monitor: 1440x900, scaling 100%
          visible monitors count: 1
          installed Display Class adapters:
          0000: Description - Intel® UHD Graphics
          0000: DriverVersion - 32.0.101.7088
          OS Name: Windows 11 Pro (64-bit)
          OS Version: 25H2
          OS Build: 26200.8973
          Current ANSI codepage: 1252
          Plugins:
          mimeTools (3.1)
          NppConverter (4.7)
          NppExport (0.4)
          NppFTP (0.29.15)

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

            @PeterJones by reset itself i mean only the plugin
            and i mean it revert back to the state it was when i first installed it
            meaning no profiles, and everything else i changed also reset.
            simply a TOTAL reset of the plugin.

            That sounds like it’s not saving its config files correctly…

            and here is the debug info:
            …
            Admin mode: ON

            So this might be one thing: if you sometimes run as Admin and sometimes as normal user, config files can get their permissions messed up, which might be a culprit.

            In modern Notepad++, unless you are almost always editing files from the Program Files or Windows folders, there is no good reason to run As Admin consistently – as a normal run of Notepad++, if you try to save a protected file (files in Program Files, Windows, etc), Notepad++ will ask the OS, and the OS will prompt you with the elevated UAC permission to write the protected file.

            So unless you are saving a file to that location often enough that the UAC prompt every save becomes annoying, don’t run as Admin.

            Cloud Config: C:\Users\אפיק גלבוע\Documents\NppSettings

            Hmmm… there might be two things there, as well.

            First, I don’t know whether the NppFTP plugin was written with good support for Unicode characters in path names. So it might not be able to write its config to a directory like that.

            Second, I don’t know if NppFTP was properly written to make use of Cloud Config. If it’s using NPPM_GETPLUGINSCONFIGDIR, then it should be getting the right location, but if it’s incorrectly manually figuring out the plugin settings directory relative to AppData, it might not be computing the right path, so it might be trying to save its config in the wrong place (maybe even to a non-existent location)

            Look in C:\Users\אפיק גלבוע\Documents\NppSettings and see if there is an NppFTP subdirectory there. If not, then likely one of those two problems has occurred. If there is, then look at the permissions of that directory and the NppFTP.xml in it, to make sure that both your normal user and your elevated Admin have permission to write to it.

            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