First of all thank you for all your responses .
I thought that it is a forum where to share ideas and solve problems and not humiliating people.
Don't be sad for me , i know what i am doing !! Thank you again
Ghada Jaber Etudiante en 5eme année Réseau informatique et Telecommunication a l'INSAT Stagiaire a l'IRIT/ENSEEIHT Tel : 003385681703 email : jaberghada@yahoo.fr Skype : ghada.jaber90 Le Vendredi 23 mai 2014 8h42, Johannes Morgenroth morgenroth@ibr.cs.tu-bs.de a écrit :
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/0136006639
http://www.amazon.com/Computer-Networks-Edition-Andrew-Tanenbaum/dp/01321269...
If 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-tut
Scroll 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