TApxProtocol.AsciiEOFTimeout

TApxProtocol

property AsciiEOFTimeout : Word

Default: 20

Determines the number of seconds before an ASCII transfer is automatically terminated.

Because most text files are terminated by a ^Z character (ASCII 26), the ASCII protocol closes the file and ends the protocol when it finds a ^Z. If the received file isn't terminated by a ^Z, the ASCII protocol determines the file was completely received after a specified number of seconds elapse without receiving any new data. The default of 20 seconds can be changed by assigning a new value to this property.