-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Description
I m using below code to upload data . May i know where to add onProgress call . BTW i m using linux platform.
client = SSHClient(
await SSHSocket.connect('$ip', 22),
username: 'root',
onPasswordRequest: () => 'passwd',
// printTrace:print,
// printDebug: print,
);
final sftp = await client.sftp();
The below code gets stuck right after transfer completion sometimes . Do you know how to over come ?
sftp
await file.write(File('${appDocPath}/file.tgz').openRead().cast(), onProgress: (total) => print(total));
Metadata
Metadata
Assignees
Labels
No labels