sftp stuck right after transfer completion
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));
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