RemoveQueue |
Top Previous Next |
RushApp.FTP.RemoveQueue
Declare procedure RemoveQueue(Source: string; Dest: string; Param: string; Flag: Integer);
Description Remove Queue items from Queue window.
Parameters
Examples //Clear all queues from all window RushApp.FTP.RemoveQueue('','','',RS_TRANSFER or RS_NORMAL or RS_WAITING);
//Clear all queues from current window RushApp.FTP.RemoveQueue('','','',RS_TRANSFER or RS_NORMAL or RS_WAITING or RS_CURRENT);
//Remove all download queue RushApp.FTP.RemoveQueue('','local','',RS_TRANSFER or RS_NORMAL or RS_WAITING or RS_CURRENT);
//Remove all upload queue RushApp.FTP.RemoveQueue('local','','',RS_TRANSFER or RS_NORMAL or RS_WAITING or RS_CURRENT);
//remove all failed queue items from all window RushApp.FTP.RemoveQueue('','','',RS_FAIL);
//remove all failed queue items from current window RushApp.FTP.RemoveQueue('','','',RS_FAIL or RS_CURRENT);
//remove all queues matchs '/public*' RushApp.FTP.RemoveQueue('','','/public*',RS_TRANSFER or RS_NORMAL or RS_WAITING or RS_CURRENT or RS_WILD or RS_FULLPATH);
//remove all queues which file name matchs '*2004*' RushApp.FTP.RemoveQueue('','','*2004*',RS_TRANSFER or RS_NORMAL or RS_WAITING or RS_CURRENT or RS_WILD);
//remove all queues which dest name is 'FTP1' RushApp.FTP.RemoveQueue('','FTP1','',RS_TRANSFER or RS_NORMAL or RS_WAITING);
//remove all queues which source name is 'FTP1' RushApp.FTP.RemoveQueue('FTP1','','',RS_TRANSFER or RS_NORMAL or RS_WAITING);
|