Not logged in. · Lost password · Register
Forum: Jabber users Jabber EN - support for users
Miranda: Filetransfer to public@disk.jabbim.cz corrputs data?
buckaroo #1
Member since Oct 2006 · 5 posts
Group memberships: Členové
Show profile · Link to this post
Subject: Miranda: Filetransfer to public@disk.jabbim.cz corrputs data?
hi!
I have a small problem with your server using Miranda-IM.
I sent a test-file to public@disk.jabbim.cz with PSI -> KLICK
The I sent the same file with Miranda -> KLICK
As you can see, there are some bytes missing. The same happens to other filetypes, which renders them useless.
I logged the transfer in Miranda and saw, that all bytes are transfered:

[03:30:49 JABBER] ( SSL ) Data sent
<iq type='get' to='public@disk.jabbim.cz/jdisk' id='mir_3'><query xmlns='http://jabber.org/protocol/disco#info'/></iq>
[03:30:49 JABBER] recvResult = 539
[03:30:49 JABBER] ( SSL ) Data received
<iq from='public@disk.jabbim.cz/jdisk' to='buckaroo@jabbim.com/Miranda' type='result' id='mir_3' xml:lang='en'><query xmlns='http://jabber.org/protocol/disco#info'><feature var='jabber:iq:register'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='http://jabber.org/protocol/stats'/><feature var='http://jabber.org/protocol/bytestreams'/><feature var='http://jabber.org/protocol/si'/><feature var='http://jabber.org/protocol/si/profile/file-transfer'/></query></iq>
[03:30:49 JABBER] Handling iq request for id=3
[03:30:49 JABBER] <iq/> iqIdDiscoClientInfo
[03:30:49 JABBER] IqAdd id=4, proc=0, func=0x12628186
[03:30:49 JABBER] ( SSL ) Data sent
<iq type='set' to='public@disk.jabbim.cz/jdisk' id='mir_4'><si xmlns='http://jabber.org/protocol/si' id='17409488' mime-type='binary/octet-stream' profile='http://jabber.org/protocol/si/profile/file-transfer'><file name='123.txt' size='73' xmlns='http://jabber.org/protocol/si/profile/file-transfer'><desc></desc></file><feature xmlns='http://jabber.org/protocol/feature-neg'><x xmlns='jabber:x:data' type='form'><field var='stream-method' type='list-single'><option><value>http://jabber.org/protocol/bytestreams</value></option></field></x></feature></si></iq>
[03:30:49 JABBER] bytesParsed = 539
[03:30:50 JABBER] recvResult = 365
[03:30:50 JABBER] ( SSL ) Data received
<iq from='public@disk.jabbim.cz/jdisk' to='buckaroo@jabbim.com/Miranda' type='result' id='mir_4'><si xmlns='http://jabber.org/protocol/si'><feature xmlns='http://jabber.org/protocol/feature-neg'><x type='submit' xmlns='jabber:x:data'><field type='list-single' var='stream-method'><value>http://jabber.org/protocol/bytestreams</value></field></x></feature></si></iq>
[03:30:50 JABBER] Handling iq request for id=4
[03:30:50 JABBER] Thread started: 1262317D 2080
[03:30:50 JABBER] bytesParsed = 365
[03:30:50 JABBER] Thread started: type=bytestream_send
[03:30:50 JABBER] IqAdd id=5, proc=0, func=0x12623427
[03:30:50 JABBER] ( SSL ) Data sent
<iq type='set' to='public@disk.jabbim.cz/jdisk' id='mir_5'><query xmlns='http://jabber.org/protocol/bytestreams' sid='17409488'><streamhost jid='buckaroo@jabbim.com/Miranda' host='buckaroo.kicks-ass.net' port='6009'/></query></iq>
[03:30:50 JABBER] (1468) Port 6009 opened for incoming connections
[03:30:50 JABBER] New incoming connection on port 6009 from 82.208.10.91 (1528)
[03:30:50 JABBER] bytestream_send_connection incoming connection accepted: local_port=6009
[03:30:50 JABBER] (00CF9658:1528) Data received
00000000: 05 01 00                                         ...
[03:30:50 JABBER] (00CF9658:1528) Data sent
00000000: 05 00                                            ..
[03:30:50 JABBER] (00CF9658:1528) Data received
00000000: 05 01 00 03-28 37 63 31-65 35 65 61-64 65 38 39  ....(7c1e5eade89
00000010: 31 66 35 37-61 63 30 36-38 64 66 38-65 30 37 61  1f57ac068df8e07a
00000020: 34 32 39 66-38 35 36 36-36 37 39 62-63 00 00     429f8566679bc..
[03:30:50 JABBER] Auth: '17409488buckaroo@jabbim.com/Mirandapublic@disk.jabbim.cz/jdisk'
[03:30:50 JABBER] (00CF9658:1528) Data sent
00000000: 05 00 00 01-00 00 00 00-00 00                    ..........
[03:30:50 JABBER] Sending [C:\Dokumente und Einstellungen\bo\Desktop\123.txt]
[03:30:50 JABBER] (00CF9658:1528) Data sent
1111111111111

2222222222222

3333333333333

4444444444444

5555555555555
[03:30:50 JABBER] (00CF9658:4294967295) Connection closed
[03:30:50 JABBER] bytestream_send_connection closing connection
[03:30:50 JABBER] recvResult = 227
[03:30:50 JABBER] Destroying file transfer session 00CE7E20
[03:30:50 JABBER] ( SSL ) Data received
<iq from='public@disk.jabbim.cz/jdisk' to='buckaroo@jabbim.com/Miranda' type='result' id='mir_5'><query mode='tcp' xmlns='http://jabber.org/protocol/bytestreams'><streamhost-used jid='buckaroo@jabbim.com/Miranda'/></query></iq>
[03:30:50 JABBER] Handling iq request for id=5
[03:30:50 JABBER] Thread ended: type=bytestream_send
[03:30:50 JABBER] bytesParsed = 227

So where's the problem?
Avatar
churchyard #2
Member since Dec 2005 · 83 posts · Location: Praha [CZ]
Group memberships: Členové
Show profile · Link to this post
And if you try to send testfile from Miranda to some JID (not jdisk) it is ok?
"Pouze dvě věci jsou nekonečné: vesmír a lidská hloupost. Ačkoli tím prvním si nejsem jist."
Albert Einstein
Avatar
skvedo #3
Member since May 2006 · 16 posts
Group memberships: Členové
Show profile · Link to this post
miranda have unstandart jabber plugin so you can't send file from it by jabber
buckaroo #4
Member since Oct 2006 · 5 posts
Group memberships: Členové
Show profile · Link to this post
In reply to post #2
Quote by churchyard:
And if you try to send testfile from Miranda to some JID (not jdisk) it is ok?

Filetransfer is ok to and from PSI and Miranda-IM.
That's why I don't think it's a problem related to the Jabber-plugin of Miranda.
buckaroo #5
Member since Oct 2006 · 5 posts
Group memberships: Členové
Show profile · Link to this post
*bump*
zenek (Administrator) #6
Member since Nov 2005 · 503 posts · Location: Bohumín
Group memberships: Administrátoři, Členové
Show profile · Link to this post
Author of the transport knows about the bug, but hasn't found the reason yet...
Stop Skype Plague
buckaroo #7
Member since Oct 2006 · 5 posts
Group memberships: Členové
Show profile · Link to this post
Quote by zenek:
Author of the transport knows about the bug, but hasn't found the reason yet...

Thanks for the update.
buckaroo #8
Member since Oct 2006 · 5 posts
Group memberships: Členové
Show profile · Link to this post
Downloaded Miranda testing-build #25.
Now it works!
Here ist my configuration:
[Image: http://img338.imageshack.us/img338/6280/screenshotmq7.th.png]
spike411 #9
Member since Jan 2006 · 145 posts · Location: Praha
Group memberships: Členové
Show profile · Link to this post
Yes, XEP-0065 is supported/fixed in build #25, so filetransfer to Jabber Disk works via proxy, but AFAIK it doesn't via direct P2P (client to disk) connection.
jjk #10
Member since Jan 2006 · 22 posts
Group memberships: Členové
Show profile · Link to this post
Yes, miranda has still one bug, because it sends data too early (it should wait for used streamhost, however miranda send data before it). That is reason why it do not work directly.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 1.6.4, © 2003-7 by Yves Goergen
Current time: 2012-02-07, 18:01:55 (UTC +02:00)