About dtntrigger #66
Replies: 1 comment
-
there's no error / warning in my daemon configuration.toml. i can sending, storing, receiving bundles without any problem between nodes(my computers), but i need simpler command about how to receiving & storing automatically, is it possible with ./dtntrigger ? |
Beta Was this translation helpful? Give feedback.
-
dear author dtn7 & everyone who read this,
how can i automatically received and store bundles in local storage on computer? is it possible using dtntrigger?
i have 2 computer, computer1(node1) send bundles to computer2(node2).
i have using ./dtnsend to send bundles, and if i want to receive & store that bundle so i have to using ./dtnrecv then input a bundle-id in dtnrecv command, very uneffective. i want that process receive & store run automatically, have any idea?
I have try ./dtntrigger like this scenario:
node 2 run this dtntrigger:
pi@NODE2:~/Desktop/dtn7-rs/target/release $ ./dtntrigger --endpoint incoming --command 'mv $2 /home/pi/Document/Bundles '
[] 200 tx mode: bundle
[] 200 subscribed
then....
node1 has:
pi@NODE1:~/Desktop/dtn7-rs/target/release $ ./dtnsend --receiver dtn://node2/ /home/pi/Document/Image/cat.jpg
Bundle-Id: dtn://node2/-778928170523-0
Result: Sent 151 bytes
Time: 2024-09-06T08:56:10.526756926Z
when i checked node2 in folder "Document/Bundles", nothing stored. have any idea? thank you so much....
Beta Was this translation helpful? Give feedback.
All reactions