Project

General

Profile

DCC file transfers won't resume, unknown host with some bots

Added by Thomas Zick almost 6 years ago

Hello, I'm having two problems with DCC file transfers:

1) Resuming file transfers doesn't work at all for me. When I try to resume, I get this error message: "DCC SEND from botname: Unknown error: Der Prozess kann nicht auf die Datei filename zugreifen, da sie von einem anderen Prozess verwendet wird." The file transfer won't start.

Sorry, it's in German (I'm in Germany). Should be something like "The process can't access the file because it's in use by another process".

When I restart AdiIRC, I can resume the file transfer, but the file gets corrupted. Transfer restarts at 0%, when the transfers finishes, files are much bigger than they should be.

2) On some xdcc bots I get the error "DCC SEND from botname: Connection failed, unknown host". The file transfer won't start. It's working fine when I use another IRC client like KVIRC (same bot, same file, same internet connection).


Replies (8)

RE: DCC file transfers won't resume, unknown host with some bots - Added by Per Amundsen almost 6 years ago

It sounds like AdiIRC still have the file open for some reason and cannot write to it, I'll test that.

For this error "DCC SEND from botname: Connection failed, unknown host" it sounds like AdiIRC fails to parse the ip address the bot sends, it would help to see the raw incoming message, you can get that by having File -> Rawlog open before you initiate the DCC transfer.

Since this raw output contains the ip address of the bot, it's maybe better if you email the output to me at or pm it to me on kr0n @ irc.nordicirc.com:6667 (6697 for SSL)

RE: DCC file transfers won't resume, unknown host with some bots - Added by Thomas Zick almost 6 years ago

Hello,

Yes, AdiIRC keeps the file open even after I abort the file transfer. The free tool LockHunter tells me AdiIRC is locking the file.

Regarding the "Connection failed, unknown host"-message:

I've checked the rawlog, but it doesn't contain much I could send to you. It does not show the ip address of the bot.

When I choose Server: Debug in the rawlog (file- and bot names removed):

> 04.01.2014 20:45:55 - Thread already exists
> 04.01.2014 20:45:55 - Recive dcc 1: Es wurde eine ungültige IP-Adresse angegeben. (*)

(*) Translation: Recive dcc 1: "An invalid IP-address has been indicated"

When I choose Server: server name in the rawlog:

;-> PRIVMSG botname :XDCC SEND 1
;<- : botname NOTICE myname :** Sending you pack 1 (" filename "), which is 69MB. (resume supported)
;<- : botname PRIVMSG myname :#DCC SEND " filename " REMOVED#
;<- : botname NOTICE myname :** You have a DCC pending, Set your client to receive the transfer. Type "/MSG botname XDCC CANCEL" to abort the transfer. (150 seconds remaining until timeout)

I also can't see the IP-address of the bot in the DCC-transfers-window of AdiIRC. Where the IP-address should be, there's just :0

RE: DCC file transfers won't resume, unknown host with some bots - Added by Per Amundsen almost 6 years ago

Sorry should have mentioned you needed to select the server in Rawlog, this is the exact info I needed, thanks.

RE: DCC file transfers won't resume, unknown host with some bots - Added by Per Amundsen almost 6 years ago

I edited your post to remove the ip address of the bot.

RE: DCC file transfers won't resume, unknown host with some bots - Added by Per Amundsen almost 6 years ago

Does the filename contain spaces and is it quoted "like this" ?

RE: DCC file transfers won't resume, unknown host with some bots - Added by Thomas Zick almost 6 years ago

Yes, the filename does indeed contain spaces. It's also quoted with quotation marks.
So it looks like this in the rawlog: DCC SEND "name of the file.zip"

Now that you mention it, the filename isn't displayed correctly in the DCC-transfers-window, too. There only a single quotation mark and the beginning of the filename. It stops at the first space.

I've also tried a file without spaces from the same bot. File transfer works.
There are no quotation marks in the rawlog: DCC SEND name_of_the_file.zip

RE: DCC file transfers won't resume, unknown host with some bots - Added by Per Amundsen almost 6 years ago

I added support for transfers with spaced filename in latest beta, you can get it by typing /betaup.

Found some other issues, i'll be working on them in the next few days as well as "file in use".

Let me know if spaced filenames works, cheers.

RE: DCC file transfers won't resume, unknown host with some bots - Added by Thomas Zick almost 6 years ago

I've tried the newest beta: File transfers work now even when there are spaces in the filenames. Thanks for fixing this so fast!

Glad to read that you will be working on the other issue as well.

    (1-8/8)