Internet Direct (Indy) Version 9.0.1 Beta
TIdFTPServerThread.RESTPos
Indicates the position of a restart marker in the FTP data stream.

property RESTPos: Integer;
Description
RESTPos is an Integer property that indicates the position of a restart marker in the FTP data stream, and is used when the FTP server executes the command and reply handlers for the FTP REST or RETR commands.

RESTPos is updated in the command reply handler for the REST command for an Authenticated FTP client connection. The default value for RESTPos is 0. RESTPos is read in the command reply handler for the RETR command, and the FTP Data stream is moved to the indicated position prior to beginning the transfer operation on the DataChannel.