Am 22.05.2014 18:18, schrieb Ghada Jaber:
>
> I have tested that and it worked but here i specify the file i am
> sending ! If i want to send more than one file at the same time i can't
> no ?
Honestly, it is very sad that someone who adds a signature to all its
mails saying "I am studying computer networks since 5 years." asks those
questions and do not know how to transfer its knowledge to solve these
really basic principles of networking. I do not know if I should laugh
or cry. Definitely, you did something wrong during these five years.
For a sustainable solution you should read these books.
http://www.amazon.com/Modern-Operating-Systems-3rd-Edition/dp/0136006639http://www.amazon.com/Computer-Networks-Edition-Andrew-Tanenbaum/dp/0132126958If you still want to get your issues solved by third parties, here is a
solution for your question.
To encapsulate multiple files into a single payload you need some sort
of format / protocol. An easy way to do this is just "tar" your files.
Previously, I gave you the hint to our tutorial.
http://trac.ibr.cs.tu-bs.de/project-cm-2012-ibrdtn/wiki/ibr-dtn-tutScroll down to "dtninbox & dtnsend", there is the example how to do that
with "dtnsend". To add multiple files, you just need to add a list of
filenames separated by spaces instead of "fileTransfer".
To receive those files you just need to extract the archive on reception.
dtnrecv --group dtn://my/group | tar x
Johannes
--
!! This message is brought to you via the `ibr-dtn' mailing list.
!! Please do not reply to this message to unsubscribe. To unsubscribe or adjust
!! your
settings, send a mail message to <
ibr-dtn-request@ibr.cs.tu-bs.de>
!! or look at https://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn.