Internet Direct (Indy)
Home
PreviousUpNext
TIdFTP.ResumeSupported Method

Indicates if the server implements the FTP REST command.

Pascal
function ResumeSupported: Boolean;

Boolean - True when restart markers are supported.

ResumeSupported is a Boolean function used as the read access specifier for the CanResume property, and indicates if the FTP server implements the FTP REST command. 

ResumeSupported calls the Quote method using the FTP command literal 'REST 1' to determine if the capability is supported in the FTP server implementation, and calls Quote using the command 'REST 0' to disable the test. 

When ResumeSupported returns True, the FTP server allows restart markers for file transfer. 

ResumeSupported is examined in Get to determine if the FTP REST command is needed to resume file retrieval at a specified restart marker.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.