Menu

More FTP niceties

Jaco
2003-01-22
2003-01-22
  • Jaco

    Jaco - 2003-01-22

    Hi,

    I warned you that I would want more. Which in itself is a good sign, it means:

    1. I actually use the sw and find it well worth the trouble; (I normally just give up if it doesn't have the right "feel", I cannot explain that one)
    2. I find the forum resposive and receptive to ideas;

    Is it possible to extend the FTP filter to do two things:

    1. Output something to the screen/logfile when it has successfully dropped off a file? Maybe configurable, if you FTP every second you might not want this.

    2. Make FTP out of band, in a thread. Currently I take a snap every 15seconds. This then takes between 2 and 5 seconds to FTP. (Tested with another proggie, could we get a duration in the output as in 1) and only then it seems the 15s countdown starts again. So the actual capturing varies from 15 to 20 seconds. This is not a realtime system, but it would be nice...

    Thanks, (again)

    Jaco

     
    • Richard Fuchs

      Richard Fuchs - 2003-01-22

      ad 1) Sure, why not.
      ad 2) Sure, why not. ;) Yes the interval is actually just the sleep time between finished ftp upload and the next snapshot. This is due to severe laziness on my part. In fact I was wondering how long it would take until someone would notice this. ;) I guess it's time to do some timestamp calculations....

       
      • Jaco

        Jaco - 2003-01-22

        Aha, caught in the act :) Well, it sounds like it (#2) won't be too much of a trainsmash - at least no extra thread or something funny that requires who knows what. Haven't looked myself (yet), got the latest CVS version, just need some free time.

         

Log in to post a comment.

MongoDB Logo MongoDB