-
Notifications
You must be signed in to change notification settings - Fork 699
Open
Labels
Description
Hi, I am using fastPut and fastGet of this library to get the high-speed transfer, but I have a request to interrupt the transfer so that the user can break the transfer, can I add a flag bit so that the developer can set a time to interrupt the stream transfer。
this.sftp?.fastPut(local, remote, atomicBreak, {
step: (transferd, chunk, totalSize) => {
console.log(transferd, totalSize);
},
}, (err) => {
if (err) {
console.error("error: ", err);
}
})