-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for DCC file transfers #206
Support for DCC file transfers #206
Comments
I have no objection to supporting IRC extensions. |
Going to start building this because it is something that I really want too. Right now I only need receiving files, so I don't think I will try and implement anything more than handling DCC SEND and then a command to DCC GET a file. I'm going to keep it as simple as possible. Overview:
|
Actually I just need receive too to be able to receive those .zip or .txt files from search bots, so just receive would be perfect for me already, but I assume some would expect send/receive in the future. |
Just want to comment that I have the client accepting DCC SEND and I have Next steps:
|
I'm looking forward to trying it too now. |
@osa1 Hey, if/when you get the time, I would like your opinion on how to handle caching DCC records and then expiring them after a duration...
It does not expire the records, only removes them when they're accessed. I'm finding it difficult to spawn a task that expires the records, so I'm thinking that I might need to create another task just for handling DCC stuff in Do you have any expert advice? 😃 |
@trevarj What do you mean by "DCC record" exactly? Open DCC connections? Or something else? |
@osa1 When the client receives a DCC command (someone wants to send you a file) you should store the record of it. So, when the user decides to accept the request (file or private chat) then you can go retrieve the record, which has the IP and port to connect to. If the user doesn't want to accept, the record should expire and get freed from memory. Basically, when you get a CTCP message for DCC (Version is already there) in I've been looking into using |
Hmm, so for every connection we need a
For (1) I think we should put it in We already have a similar state in For (2) I think it's fine to not remove entries for now. I think 99.9% of users will never use DCC so the @trevarj does this make sense? Let me know if my assumptions about DCC are wrong. |
@osa1 Ok, great, this is pretty much what I have already. Thanks for the help! |
Does not yet support sending files. Closes osa1#206
Does not yet support sending files. Closes osa1#206
Does not yet support sending files. Closes osa1#206 Added connection timeout Fixed NOTICE format which was causing an issue. Spawn regular task instead of local for file download. Only read number of bytes read.
Does not yet support sending files. Closes osa1#206 Added connection timeout Fixed NOTICE format which was causing an issue. Spawn regular task instead of local for file download. Only read number of bytes read.
Does not yet support sending files. Closes osa1#206 Added connection timeout Fixed NOTICE format which was causing an issue. Spawn regular task instead of local for file download. Only read number of bytes read.
Does not yet support sending files. Closes osa1#206 Added connection timeout Fixed NOTICE format which was causing an issue. Spawn regular task instead of local for file download. Only read number of bytes read.
Does not yet support sending files. Closes osa1#206 Added connection timeout Fixed NOTICE format which was causing an issue. Spawn regular task instead of local for file download. Only read number of bytes read.
Does not yet support sending files. Closes osa1#206 Added connection timeout Fixed NOTICE format which was causing an issue. Spawn regular task instead of local for file download. Only read number of bytes read.
Does not yet support sending files. Closes osa1#206 Added connection timeout Fixed NOTICE format which was causing an issue. Spawn regular task instead of local for file download. Only read number of bytes read.
Does not yet support sending files. Closes osa1#206 Added connection timeout Fixed NOTICE format which was causing an issue. Spawn regular task instead of local for file download. Only read number of bytes read.
Some IRC servers with search bots are based on DCC transfers to send search results in the .txt format to the user, such as #bookz or #ebooks and others.
tiny
sends a notification about the DCC transfer being initiated, but can't actually receive anything. I am afraid it would be a lot of work to implement, but it is worth asking. For reference, this is howirssi
handles DCC transfers: https://irssi.org/documentation/help/dcc/The text was updated successfully, but these errors were encountered: