Hi Pat,

1) Use IoSession.sendFile()
2) Split the file into multiple 64kb (or bigger) chunks and send them
one by one using WriteFuture.addListener() or messageSent().

HTH,

Pat C wrote:
> Hi,
> 
> We would like to write a client-server that can send and accept (binary)
> attachments. We would like to upload file of sizes from 500KB to 25 MB.
> 
> Can someone guide me on the right approach you have taken with any
> references to some example code.
> 
> Thanks in advance,
> Pat
> 

-- 
Trustin Lee - Principal Software Engineer, JBoss, Red Hat
--
what we call human nature is actually human habit
--
http://gleamynode.net/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to