[Gajim-devel] gsoc: file transfer over jinge

Yann Leboulanger asterix at lagaule.org
Sun Mar 14 00:32:58 CET 2010

Zhenchao Li wrote:
> Hello everyone!

Hi man,

>   I am a graduate student in China and I am very interested in
> implementing file transfer over jingle for gajim. For the last month
> I've been exploring gajim's source code, reading documentations about
> gajim's architecture, reading xmpp's specifications on jingle and file
> transfer(XEP-0096, XEP-0234, XEP-0166) and getting some hands-on
> experience by trying to write a patch for a bug(#5614
> <http://trac.gajim.org/ticket/5614>). So I want to share with you my
> thoughts here.

Very good idea, and very good project.


>   I also want to add some additional features that might help to enhance
> user experience:
>   First: file transfer status in chat window. [...]
> Suggestions welcomed about this!

Nice, it's a long time ticket, and sure we'll discuss that when time
will come.

>   Second: drag and drop currently works perfectly, but sending of
> multiple files are not supported. [...]

You can DnD multiple files, and send them in one shot. But receiver wil
have to accept them one by one. Too bad. I haven't read Jingle FT
specifications, but is it possible to do the negociation ofr several
files? If yes that's the solution, else we'll have to discuss that in
standards mailing list, so that it's added to the XEP or a new XEP
should be written to be complient with other clients. This will take
some time to define that, so not sure you'll have time to implement that.

>   If time allows I also want to add file encryption feature, which might
> be as simple as key exchange and encryption using DES or AES. But I
> don't know how to standardize this feature so it understood by all xmpp
> clients. I appreciate any advice on this.

I already saw discussions about encrypted jingle sessions ... But I
don't know the status of that at all.

>   Any advices, thoughts, suggestions, questions are welcomed!

I have to tell you that you're not the only one contacting me for this
project. I don't know how many slots XSF will have this year, and I
don't know how many valuable project they will receive, so it's
impossible to know how many slots Gajim will have (if any).
Jingle file transfer is in XSF priorities, so this kind of project will
be in the top of the list. I think.

>   PS: After discussing my idea here, should I also present it to the XSF
> mailing list?

I could be a good idea indeed to present yourself to XSF comunity so
that people who will vote for projects know a bit about you.


More information about the Gajim-devel mailing list