Can anyone let me know the implementation of file transfer in XMPP using strophe library
theres a strophe si-filetransfer plugin available. You will have to study the code and add the handler along the lines of:
connection.si_filetransfer.(addhandler);
Then use it with :
connection.si_filetransfer.send(to, sid, filename, size, mime, cb);
I tried it out earlier, but was unsuccessful as it killed my strophe connection for some reason. Maybe you have better luck =)