DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


Connect

Declaration: TFtpConnection.Connect: integer;
The method Connect establishes the connection to the FTP server (specfied by property Host) and logs in by using the credentials UserId and Pwd. The transfer mode of the connection is automatically set to binary transfer.

The function returns the following error codes:

 0 ... everything is OK
-1 ... cannot connect