diff --git a/xep-0234.xml b/xep-0234.xml index d5f23b14..c271844e 100644 --- a/xep-0234.xml +++ b/xep-0234.xml @@ -24,6 +24,12 @@ NOT_YET_ASSIGNED &stpeter; + + 0.11 + 2010-02-19 + psa +

Added session-info message and namespace for communicating the file hash.

+
0.10 2010-02-11 @@ -207,6 +213,7 @@ Initiator Responder ]]> +

Note: Computing the hash of the file before sending it can slow down the process of file transfer, since the sending application needs to process the file twice. The sender might prefer to send the hash after the file transfer has begun, using a transport-info message as described under Communicating the Hash.

The responder immediately acknowledges receipt of the Jingle session-initiate.

]]> -

Now the parties exchange the file using SOCKS5 Bytestreams.

+

Now the parties exchange the file using the negotiated transport (here, SOCKS5 Bytestreams).

Once the transfer is completed, either party can terminate the Jingle session; preferably this is done by the entity that receives the file to ensure that the complete file (up to the advertised size) has been received.

For a description of the transport fallback scenario (from SOCK5 Bytestreams to In-Band Bytestreams), refer to XEP-0260.

+ +

At any time, the hosting entity can communicate the hash of the file to the receiving entity. This is done by sending a session-info message containing a <hash/> element qualified by the 'urn:xmpp:jingle:apps:file-transfer:info:1' namespace.

+ + + 552da749930852c69ae5d2141d3766b1 + + + ]]> +
+

If the entity that hosts a file has advertised its existence (or if a previous file transfer attempt has failed and the receiver would like to initiate another attempt), the entity that wishes to receive the file can "pull" the file from the hosting entity. This is done by sending a Jingle session-initiate to the hosting entity, including a &DESCRIPTION; element qualified by the 'urn:xmpp:jingle:apps:file-transfer:1' namespace and containing a <request/> element that defines the requested file.

- + - ]]> + ]]> + + + + + + + + + + ]]> + + + + +

Thanks to Marcus Lundblad and Jiří Zárevúcky for their feedback.