Hi,
I am trying to understand how dtnoutbox handles file deletion after it has been sent and I hope you can shed some light on this :)
I am checking https://github.com/ibrdtn/ibrdtn/blob/master/ibrdtn/tools/src/dtnoutbox.cpp and some older versions of the code. I understand that dtnoutbox checks periodically a directory for changes and if it finds news files, it sends them to the destination EID.
Now my questions are two: 1. Is there an option or functionality so that the files are removed (deleted) from the directory, once they are sent? If not, then they must be removed manually by another script; in that case how could be the script informed if the dtnoutbox is processing the file by the time the script tries to delete it?
2. How is the "rounds" parameter used? If the file remains unchanged after say 3 rounds, dtnoutbox will stop trying sending it? If another process adds more data in the file later on, this will go unnoticed?
If it is of an any help, I am exploring how IBR-DTN can be used to build a log file (measurements) transfer mechanism over DTN; another process will be placing the log files to the outbox folder and expect to have them delivered to the collection point (dtninbox).
Thank you, Artemios.