FTP NOOP command implementation

  • Advertisement ( why? )
     

    Wishmaster, 3rd Mar 2015 3:57 pm

    It would help a lot if you could implement the FTP NOOP command like in other FTP clients.

    I am only working directly on the servers via FTP.
    But most of them have a relatively short idle timeout of a few minutes.
    The next time I want to open or save a file, it takes a while until HTML-Kit times out and reconnects.

    A "keep alive" setting, which makes sure that the NOOP command gets sent e.g. every 30-60 seconds would take care of keeping the connection alive.

    Thanks in advance.

    • HTML-Kit Support, 3rd Mar 2015 5:27 pm

      On 3/3/2015 3:57 PM, Wishmaster wrote:

      It would help a lot if you could implement the FTP NOOP command like
      in other FTP clients.

      I am only working directly on the servers via FTP.
      But most of them have a relatively short idle timeout of a few
      minutes.
      The next time I want to open or save a file, it takes a while until
      HTML-Kit times out and reconnects.

      A "keep alive" setting, which makes sure that the NOOP command gets
      sent e.g. every 30-60 seconds would take care of keeping the
      connection alive.

      Thanks in advance.

      Hi,

      So I'm hesitant to add this to Tools for a few reasons:

      • Right now it's so easy to open multiple FTP folders. But if opening a
        FTP folder also starts implicitly sending NOOPs, there has to be some
        way to stop them. Sure, settings or rules could decide which X number of
        servers get NOOPs and when NOOPs also eventually time out and what user
        action triggers explicitly closing connections, etc. All technically
        possible but just adds extra weight to opening and closing folders as if
        they're local folders.

      • FTP server timeout vs NOOP is kind of an arms race.

      • It's there for quick edits and primary FTP functions but not meant to
        replace a full-blown FTP client.

      Please don't let this discourage your feedback because I do appreciate
      it! And who knows this might make more sense down the road. For "also
      keep-in-mind"-type requests, you can make them more sticky with "Help >
      Feedback" menu option. I have a very bad memory, despite being called a
      robot by some :)

      Chami

      • Wishmaster, 3rd Mar 2015 6:11 pm

        Would this be really that complicated? o_O

        I thought of:

        foreach $folder ($FTP_folders) {
        if($folder->isopen && $folder->settings->keepalife) {
        &ftp_send($folder, 'NOOP');
        }
        }

        :-)

        • Wishmaster, 3rd Mar 2015 6:12 pm

          . . . as a non-blocking background loop every 60 sec.

        • HTML-Kit Support, 3rd Mar 2015 6:36 pm

          On 3/3/2015 6:11 PM, Wishmaster wrote:

          Would this be really that complicated? o_O

          I thought of:

          foreach $folder ($FTP_folders) {
          if($folder->isopen && $folder->settings->keepalife) {
          &ftp_send($folder, 'NOOP');
          }
          }

          :-)

          You're right :) coding this part isn't super complicated. The weight is
          in what it does.

          Chami

      • bill, 4th Mar 2015 6:52 am

        I have a very bad

        memory, despite being called a robot by some :)

        time to refresh your flash memory ?
        bill

        • HTML-Kit Support, 4th Mar 2015 7:39 am

          On 3/4/2015 6:52 AM, bill wrote:

          I have a very bad

          memory, despite being called a robot by some :)

          time to refresh your flash memory ?
          bill

          :) should have been TRIMming all along.

          Chami