DisableSite
  

Declare
procedure DisableSite(Sitename: string; ThisSession: boolean);

Description
Enable a site

Parameters
Sitename
Specifies which FTP need to be disabled
ThisSession
set it to TRUE to disable the site temporary, set it to FALSE to disable the site and save to site file

Examples
//Disable the site named "site1" temporary
RushApp.FTP.DisableSite('site1',TRUE);

//Disable the site named "site1" , and save the site status to site file
RushApp.FTP.DisableSite('site1',FALSE);


See Also
Popup a dialog to accept input bookmark and tell all connections jump to this bookmark