-
Notifications
You must be signed in to change notification settings - Fork 0
queue API methods upload
hannsolo edited this page May 6, 2020
·
2 revisions
batchUpload(targetPath: string, options: IUploadOptions = {}):void ~> Promise <boolean>
Uploads the local files currently collected in the queue to the given path on FSI Server.
const queue = client.createQueue({continueOnError:true});
queue.login("user", "password");
queue.listLocal("local/path/to/my/images/", {recursive:true});
queue.batchUpload("images/myUploads", {overwriteExisting:true});
queue.logout();
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.
Documentation
-
Interfaces