ファイル転送進行メッセージの例
転送の進行中、メッセージは SYSTEM.FTE トピックに Transfers/agent_name/transfer_ID というトピック・ストリングでパブリッシュされます。 以下の XML の例は、単一ファイル転送および複数ファイル転送の進行メッセージを示しています。
単一ファイル転送
以下の例は、進行中の単一ファイル転送の詳細を示します。
<?xml version="1.0" encoding="UTF-8"?>
<transaction xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
version="4.00"
ID="414d51205553322e42494e44494e47538b0f404d223d0020"
xsi:noNamespaceSchemaLocation="TransferStatus.xsd">
<sourceAgent agent="US2.BINDINGS.FILE" QMgr="US2.BINDINGS"/>
<destinationAgent agent="US2.BINDINGS.FILE" QMgr="US2.BINDINGS"/>
<transferSet time="2011-01-26T13:03:26.542Z">
<stats bytes="1198" seconds="0.018" currentItem="1" totalItems="1"/>
<current transferred="1151" size="1151">
<source>
<file>/etc/passwd</file>
</source>
<destination>
<file>/tmp/passwd</file>
</destination>
</current>
</transferSet>
</transaction>複数ファイル転送
転送セット内にさらにファイルがあった場合、処理中のファイルとそれまでに転送されたバイト数を示す転送状況メッセージが表示されます。<?xml version="1.0" encoding="UTF-8"?>
<transaction xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
version="4.00"
ID="414d51205553322e42494e44494e47538b0f404d035c0020"
xsi:noNamespaceSchemaLocation="TransferStatus.xsd">
<sourceAgent agent="US2.BINDINGS.FILE" QMgr="US2.BINDINGS"/>
<destinationAgent agent="US2.BINDINGS.FILE" QMgr="US2.BINDINGS"/>
<transferSet time="2011-01-26T13:12:58.636Z">
<stats bytes="440" seconds="0.082" currentItem="10" totalItems="10"/>
<current transferred="0" size="0">
<source>
<file>/srv/nfs/incoming/file10.txt</file>
</source>
<destination>
<file>/srv/nfs/outgoing/file10.txt</file>
</destination>
</current>
</transferSet>
</transaction>