Login |
Top Previous Next |
RushApp.FTP.Login
Declare procedure Login(NameList: string; Param: string; Flag: Integer);
Description Connect to one or more FTP Servers and jump to a FTP path or bookmark.
Parameters
Examples //Connect to FTP1 RushApp.FTP.Login('FTP1','',0);
//Connect to FTP1 and FTP2 RushApp.FTP.Login('FTP1;FTP2','',0);
//Connect to FTP1 and change to directory /pub/ RushApp.FTP.Login('FTP1','/pub/',0);
//connect to FTP1 and FTP2 and change to bookmark 'public' RushApp.FTP.Login('FTP1;FTP2','public',RS_BOOKMARK);
//connect to FTP1 and FTP2, if FTP2 have no bookmark named 'public', FTP Rush will connect to FTP1 only RushApp.FTP.Login('FTP1;FTP2','public',RS_BOOKMARK or RS_CHECKBM);
//connect to FTP1 and FTP2 and FTP3 with pair format: 'FTP1;FTP2' and 'FTP2:FTP3' RushApp.FTP.Login('FTP1;FTP2;FTP3','public',RS_BOOKMARK or RS_PAIR);
|