Hello,
I was wondering if there are other commands, except dtnping and dtnsend/recv, that are interoperable between IBR and DTN2.
To be more specific, is there a way to copy a file from IBR to DTN2 and vice versa? I was thinking something between dtnoutbox/inbox and dtncp/dtncpd, but so far I have failed to do so.
Thank you.
Regards, Dimitris
Hi!
IBR-DTN and DTN2 both transport bundles (and the payload thereof) but do not use the same tools for file transfer. However, transmitting files (on IBR-DTN) is quite simple:
On the sender: dtnsend dtn://receiver.dtn/file myfile.txt
On the receiver: dtnrecv --file myfile.txt --name file
This will transfer the file myfile.txt. If you want to transfer multiple files or preserve attributes or file names, use tar:
On the sender: tar -cvj myfile.txt | dtnsend dtn://receiver.dtn/file
On the receiver dtnrecv --name file | tar -xvj
The same should be possible with DTN2s dtnsend and dtnrecv.
Does that help you?
Cheers,
Bastian
participants (2)
-
Dimitrios Giotas
-
Wolf-Bastian Pöttner