File transfers and Empathy


This week I worked on adding file transfer support to Empathy for the Telekinesis project. Empathy with my patches (the code is not yet in SVN trunk) can exchange files using every connection manager that supports file transfer, that is just telepathy-salut (aka bonjour, aka XEP-0174, aka link-local messaging) for now :).

libempathy, the non-GUI library wrapping the telepathy interfaces, will get a class to handle file transfer channels (i.e. org.freedesktop.Telepathy.Channel.Type.FileTransfer) and a class for single file transfers, which are just IDs in Telepathy.
The dialog, in libempathy-gtk, was copied from Gossip, I’m going to modify it later to better fit our needs and to solve some problems, for instance now you cannot choose the file name, only the directory where to save the file.

This work is far from perfect but I can already show some screenshots and videos:


Receiving a file


Sending a file (Ogg Theora video, 150 kB)


Receiving a file (Ogg Theora video, 138 kB)

Tomorrow I will arrive at the Birmingham train station around 5 PM. See you all there!

Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.


Other Posts

Reader Comments

Hi! Just about the screencasts, you should use the version of Istanbul that is in the backports repository. The quality difference is huge and CPU usage has decreased.

Thanks for your work, I am a fan :)

Does this mean that gossip will support gmail filetransfers too?

@Kaleo:
I’m already using Istanbul 0.2.2 (the latest version) as my distro is Debian unstable.

@Mårten Woxberg:
Short answer: I don’t know.
Long answer: Currently gossip developers are adding file transfer support for XMPP/Jabber, but this protocol has several different ways to transfer files, and gmail uses its own system using jingle.

For the GUI dialog, just make sure to change “yes” and “No” dialogs to something like “Accept file” “Decline file”, etc.

Hello, Marco. I sent you an e-mail with some changes in the dialogs to follow the GNOME HIG (including the changes J wrote).

Screenshot: http://img477.imageshack.us/img477/3609/sendfileqa8.png and http://img477.imageshack.us/img477/8313/receivefileva0.png

Hey Marco,

It seems you’ve got a name clash for telekinesis. Check out the link:

http://code.google.com/p/telekinesis/

Best Regards, Etrunko.

[…] With the old dialog you had a window for each file transfer but this could be a problem if you are transferring more than a couple of files at the same time. So this week I rewrote the file transfer dialogs and submitted the patch to add file transfer to Empathy (see bug #462172). […]

[…] Si tratta di gio & gvsf, accoppiata che andrebbe a sostituire gnome-vfs per la gestione dei file locali e remoti, proposto da Alexander Larsson, e di Empathy, progetto multi-protocollo, multi-piatatforma, multi-finanziato per rendere semplice l’aggiunta di funzionalità di messaggeria istantanea (e in un futuro, spero prossimo, anche di chat vocale) nelle varie applicazioni, proposto da Xavier Claessens. Tra l’altro il nostro Marco Barisione, nell’ambito del progetto SOC 2007 di google, con il suo Telekinesis ha contribuito in maniera decisiva ad Empathy, aggiungendo la possibilità di trasferire in maniera rapida e indolore file da un client all’altro. […]