Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Disconnect on save with NPPFTP

    Help wanted · · · – – – · · ·
    nppftp
    2
    2
    45
    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.
    • Daniel Caldwell
      Daniel Caldwell last edited by

      I’ve tried to find a solution with no success so here I am.

      I’ve got a new fresh windows 11 setup with Notepad ++ installed using the nppftp plugin to upload to an azure web app allowing editing etc.

      When hitting ctrl+s, just save or save all it automatically disconnects, doesn’t save the file to the web app and disconnects from the ftp.

      Below is the NPPFTP output window results -
      Download of /site/application/views/quicksign.php succeeded, opening file.
      -> Quit
      Disconnected
      -> Quit

      Thanks in advance

      PeterJones 1 Reply Last reply Reply Quote 0
      • PeterJones
        PeterJones @Daniel Caldwell last edited by

        @daniel-caldwell ,

        It sounds like your site would want a “keepalive” option in the client… My guess is that the server had already disconnected, but NppFTP didn’t see the disconnect until you told it to try to save. As far as I have seen, NppFTP does not have a “keepalive” option.

        You might check through the existing NppFTP issues, and if there isn’t a “keepalive” request already there, you might want to add it. Oh, there it is – if you could share the whole NppFTP output session in that NppFTP discussion, it might give the plugin author an idea of how to prevent the timeout/closing.

        As a workaround (since the keepalive issue has been around for years, it might be a while before there’s a fix), you might want to do the sequence: connect, download the file to start editing; when you are ready to save, do a “refresh” (which I assume would also force NppFTP to see if there’s a connection still active) and if it disconnects on refresh, then immediately connect and hit Save in the Notepad++ editor pane while the connection is still active.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors