Skip to content

queue API methods create directory

Steve edited this page Apr 29, 2020 · 1 revision

createDirectory(path: string, ignoreIfExists: boolean, httpOptions: IHTTPOptions = {}): void ~> boolean

Create a new directory.

queue.login("user", "password");
queue.createDirectory("images/newDir");
queue.logout();
queue.runWithResults();

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