Smack 3.0.4 API, OutgoingFileTransfer could use new method to send byte[]

Hi, just working with 3.0.4, got to OutgoingFileTransfer, its only dealing with Files. I would like to just send it a serverside generated byte array of an image (Captcha) but, I have to write a temp file first. It would be nice to be able to provide either an InputStream or byte[] argument to remove this need.

Great API!

andy

oh, ok. so I just saw sendFile(String,long,String) OutputStream, that’lld o.