martynsmith / node-irc

NodeJS IRC client library
GNU General Public License v3.0
1.33k stars 424 forks source link

Accepting Files #488

Closed IshanArya closed 7 years ago

IshanArya commented 7 years ago

Is there a way to accept files being sent to you? I found this repo : https://github.com/Booster2ooo/irc-xdcc :, which seems to use dcc. However, I don't know how to simply accept the files a user is giving you. How can I retrieve the packid or anything else I receive from a user? If there is no way, can it be implemented?

del6597 commented 7 years ago

node-irc has no DCC implementation so it would need to be written in order for you to receive or send files to a user.

According to wikipedia there is no RFC defining DCC protocol either. https://en.wikipedia.org/wiki/Direct_Client-to-Client

john-patterson commented 7 years ago

I found this repo when looking into what it would take to add DCC into node-irc.

https://github.com/tritium21/node-irc-dcc

May prove useful to others in this spot.

IshanArya commented 7 years ago

Actually, the irc-xdcc repo I linked ended up working to solve my problem https://github.com/Booster2ooo/irc-xdcc. I just had to make "acceptUnpooled" to true.

Thank you for your help!