Delete |
Top Previous Next |
RushApp.FTP.Delete
Declare procedure Delete(NameList: string; Path: string; Name: string; Flag: Integer);
Description Delete folder or file from specifies connected/idle FTP Servers
Parameters
Examples //delete file '/public/test.txt' from FTP1 RushApp.FTP.Delete('FTP1','/public','test.txt',0);
//delete file 'test.txt' from bookmark 'public' of FTP1 and FTP2 RushApp.FTP.Delete('FTP1;FTP2','public','test.txt',RS_BOOKMARK);
//delete file from folder 'test' from bookmark 'public' of FTP1 RushApp.FTP.Delete('FTP1','public','test',RS_FOLDER or RS_BOOKMARK);
//delete file from folder 'test' from bookmark 'public' of FTP1 RushApp.FTP.Delete('FTP1','public','test',RS_FOLDER or RS_BOOKMARK or RS_RECURSIVE);
|