sending and receiving files through ejabberd

Hello
I search before i post and found a post about it with 2 way for sending files 1 through http client and second through ejabberd but i cant find a good answer
what is the best way to send and receive large files (more than 1GB) in ejabberd ? using xmpp or http?

and another question if answer is xmpp how can i do that with ejabberd?

Syndicate content