TFtpClient.TimeOut

From Overbyte
Jump to navigation Jump to search

Main page -> ICS component reference -> TFtpClient -> Timeout

Definition

property Timeout: Integer;

Default Value

15

Description

Number of seconds before a timeout condition occurs. Used during OnProgress events.

Example

FtpClient1.HostName := 'ftp.borland.com';
FtpClient1.Port := 'ftp';
FtpClient1.UserName := 'anonymous';
FtpClient1.Password := 'john.smith@mycomp.com';
FtpClient1.Timeout := 30;                        // Measured in seconds
FtpClient1.OpenAsync;                            // Non-blocking open.

Best Practices

How To