问题描述
1、发送请求表示要向Clinettest发送文件,并发送文件大小和文件名SEND:<iqxmlns="jabber:client"id="agsXMPP_6"to="Receive@localhost/"type="set"><sixmlns="http://jabber.org/protocol/si"profile="http://jabber.org/protocol/si/profile/file-transfer"id="b3b5f49c-8a94-49e2-908a-3de694b98af0"><filexmlns="http://jabber.org/protocol/si/profile/file-transfer"name="MiniClient.exe.config"size="382"><range/></file><featurexmlns="http://jabber.org/protocol/feature-neg"><xxmlns="jabber:x:data"type="form"><fieldtype="list-single"var="stream-method"><option><value>http://jabber.org/protocol/byReceivereams</value></option></field></x></feature></si></iq>2、Receive收到Send发实来的请求后,发送出响应流RECV:<iqxmlns="jabber:client"to="Send@localhost"type="result"id="agsXMPP_6"><sixmlns="http://jabber.org/protocol/si"id="b3b5f49c-8a94-49e2-908a-3de694b98af0"><featurexmlns="http://jabber.org/protocol/feature-neg"><xxmlns="jabber:x:data"type="submit"><fieldvar="stream-method"><value>http://jabber.org/protocol/byReceivereams</value></field></x></feature></si></iq>请问我怎么能读取文件内容呀????xmpp是这样传输文件吗??
解决方案
解决方案二:
该回复于2009-06-22 09:28:05被版主删除