File transfers

Asked by Adrien Padol on 2012-07-13


First of all, thank you for the work. I began a project a few months ago, as a test project, and I know the work it requires (at least for me, who didn't have any notion of the DCC protocol back then).

Anyway, my question is the following:

Have you ever tried to implement DCC file transfers in your library ?

The thing is, I have a particular IRC server, which provides some bots, hosting a few files available for download.

When I was creating my own library, I faced the difficulty of processing the message that was sent back to me, when I requested a specific file.

It seems pretty easy though. When I send my command (`xdcc send #1` for example), the bot respond with a specific message code, and 2 parameters. If I remember correctly, the first one is supposed to be a hostname/IP address, and the second one the port on which to connect.

So, if you have the time, and enough knowledge of the DCC protocol, you might want to take a look at it, and tell me what you think.

Thank you.

Question information

English Edit question
IRC.NET Edit question
Alexander Regueiro Edit question
Last query:
Last reply:
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Alexander Regueiro (alexreg) said : #2

Adrien, I do indeed have intentions of adding support for the DCC protocol (including file transfers) to the library. Unfortunately, I've been so very busy over the past few months and will be for a few more weeks, but my intention is to clean up some parts of the library implementation as soon as I get a proper chance, after which I shall start work on an implementation of DCC. The CTCP side of file transfers is already basically done, as far as I know. And as you rightly say, DCC is not an overly complicated protocol!

Keep your eye on the project over the coming month or two, and I should hopefully have good news for you. If you need the support a bit more urgently, you're welcome to have a go yourself (patches welcome!). As usual, I'm available in the IRC channel for discussion.

Can you help with this problem?

Provide an answer of your own, or ask Adrien Padol for more information if necessary.

To post a message you must log in.