Hello.

 

I am tring to send a file from Android to Linux server using ibrdtn.

dtnapi has send(dest, fd, len) method to send a file under Android,  and dtnrecv can receive content of the file under Linux. However, we do not have a way to send its filename

One way is to add special header to include filename into file. And,  dtnrecv extract filename from the received file. However, this way may be too slow because of file copy if the file is big.

I think better way to add a dtn block including filename into a dtn bundle. I do not know if there is that block spec in irtf drafts. We need new api method for it in Android dtnapi and to make dtnrecv support it and rename filename using that block. 

Thank you.

 

- Softgear Ko