-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sftp stuck right after transfer completion #71
Comments
Any Update on this issue ? It still gets stuck after 100% transfer completion. Should we do any sync or something . |
i have the same problem , i tried deleting the files from my local storage after the upload is completed but it didn't work , also , this doesn't happen every time , sometimes the transfer doesn't get stuck after completion |
Many thanks for opening this! Duplicated and fixed in 2.10.0 version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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));
The text was updated successfully, but these errors were encountered: