Currently sr_poll just loops through a directory, Compares the results with its cache and does a post on the difference. We have encountered issues where sr_poll is polling a file that hasn't fully been transferred into the directory. The notification is posted and a sr_sarra instance may grab the incomplete file.
Metpx sundew receivers have an 'mtime' feature where you can specify how old a file must be (i.e. the time since it last has been written to) before being collected. This feature would be nice to have in sr_poll as well.
In addition some files come in and have umasks to restrict permissions before the file has been transferred, however sr_poll will still poll these files and post them. Ignoring those files would be beneficial as well.
Currently sr_poll just loops through a directory, Compares the results with its cache and does a post on the difference. We have encountered issues where sr_poll is polling a file that hasn't fully been transferred into the directory. The notification is posted and a sr_sarra instance may grab the incomplete file. Metpx sundew receivers have an 'mtime' feature where you can specify how old a file must be (i.e. the time since it last has been written to) before being collected. This feature would be nice to have in sr_poll as well. In addition some files come in and have umasks to restrict permissions before the file has been transferred, however sr_poll will still poll these files and post them. Ignoring those files would be beneficial as well.
was: https://sourceforge.net/p/metpx/feature-requests/53/