Community

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

    command line sftp auto-connect

    General Discussion
    2
    5
    138
    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.
    • Jimmy Devine
      Jimmy Devine last edited by

      Is there a command line method of interacting with plugins? I’m using putty session manager which on top of putty integrates with some other programs such as filezilla and it would be nice if there were a way to integrate this with notepad++ as well to open notepad++ to a specific site.

      PeterJones 1 Reply Last reply Reply Quote 0
      • PeterJones
        PeterJones @Jimmy Devine last edited by

        @jimmy-devine ,

        The plugin would have had to define an interface for doing that. I doubt that NppFTP has implemented such a feature, but the NppFTP > About NppFTP dialog gives a link to their website, so you could ask for that feature (with no guarantee of getting it)

        1 Reply Last reply Reply Quote 1
        • Jimmy Devine
          Jimmy Devine last edited by

          @PeterJones do you know of any plugins that have command line interactivity? I imagine this would need host (notepad++) support, I’m curious how this implementation would work.

          PeterJones 1 Reply Last reply Reply Quote 0
          • PeterJones
            PeterJones @Jimmy Devine last edited by PeterJones

            @jimmy-devine ,

            I imagine this would need host (notepad++) support

            Notepad++ provides the -z command line option – see usermanual here; since plugins have access to the string that called Notepad++ from the command line, they can process everything after -z for their own options. Here is an example implementation (using a script in the PythonScript plugin, but a compiled plugin has the same access to that information)

            For example, maybe NppFTP could look for a -nppftpconnect parameter after the -z to immediately connect to a site…

            1 Reply Last reply Reply Quote 3
            • Jimmy Devine
              Jimmy Devine last edited by

              @PeterJones that looks like what I’m looking for. I’ll have to read up on integrating npp user parameters with plugins, thanks!

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