TApxProtocol.FinishWait

TApxProtocol

property FinishWait : Word

Default: 20

Determines how long the receiver waits for an end-of-transmission signal before timing out.

This property applies only to Xmodem, Ymodem, and Zmodem protocols.

At the end of an Xmodem or Ymodem file transfer the transmitter sends an <EOT> to the receiver to signal the end of the file and then waits FinishWait seconds (20 seconds by default) for a response. Normally this provides ample time. However, when Xmodem1KG and YmodemG are used over links with long propagation times or slow receivers, the default value might not be enough. Use FinishWait to extend the amount of time that the transmitter waits before timing out and reporting an error. Note that FinishWait is specified in seconds.

Similarly, in a Zmodem transfer the transmitter sends a ZFin packet to the receiver to signal the end of the file and then waits FinishWait seconds to receive an acknowledgement before timing out.

See also: ZmodemFinishRetry