FIletransfer with Smack

How do I use Smack API for Socks5, Inband File transfer? Does someone have a sample program?

Check the Spark code base.

-Pony