ft indication

From The x3270 Wiki

A b3270 protocol message that indicates a file transfer state change.

Attribute/Member Always present? Type Purpose
state yes string New file transfer state
cause yes string Source of the transfer request
bytes no number Number of bytes transferred, if state is running
success no Boolean true or false, if state is complete
text no string Completion message, if state is complete

States are as follows.

State Meaning
awaiting IND$FILE command sent, waiting for acknowledgment
running Transfer in progress
aborting Abort initiated
complete Transfer complete

Example (XML)

<ft state="running" bytes="1023"/>

Example (JSON)

New in 4.2

{ "ft": { "state": running, "bytes": 1023 } }