Logout |
Top Previous Next |
RushApp.FTP.Logout
Declare procedure Logout(NameList: string; Flag: Integer);
Description Disconnect from one or more FTP Servers, If Param ANameList is empty string, all idle FTP connections will be disconnected.
Parameters
Examples //logout from all idle FTP connections RushApp.FTP.Logout('', 0);
//logout from connections which named 'FTP1' RushApp.FTP.Logout('FTP1', 0);
//logout from connections which named 'FTP1' or 'FTP2' RushApp.FTP.Logout('FTP1;FTP2', 0);
//send command 'NOOP' to 'FTP1', after 'NOOP' be executed, then disconnect from 'FTP1' RushApp.FTP.Raw('FTP1', 'NOOP',0); RushApp.FTP.Logout('FTP1',RS_ASYNC); |