TFtpClient.TimeOut

From Overbyte
Revision as of 01:45, 11 September 2006 by Kbrad1 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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