Skip to content

queue API methods delete

Steve edited this page Apr 29, 2020 · 1 revision

batchDelete(options: IHTTPOptions):void ~> Promise <boolean>

Deletes all files and folders currently collected in the queue permanently .

queue.login("user", "password");
queue.listServer("some/path", { recursive:true });
queue.batchDelete();
queue.logout();
queue.run();

Note: the methods above just add the commands to the queue. Execution starts when calling queue.run() or queue.runWithResults(). The ~> indicates the result type.
Clone this wiki locally