Description
After migrating from paramiko to asyncssh (#44), file downloads get stuck at 0% and never progress.
Expected Behavior
Download progress should update correctly and complete successfully.
Likely Cause
The asyncssh get() / sftp.getfo() API uses a different progress callback signature than the paramiko approach. The progress reporting likely needs to be rewired to use asyncssh's native progress handler.
Steps to Reproduce
- Connect to an SFTP site
- Select a file and initiate a download
- Progress stays at 0% indefinitely
Notes
- Uploads may be affected too — worth checking
- asyncssh uses
progress_handler callback on get()/put() methods
Description
After migrating from paramiko to asyncssh (#44), file downloads get stuck at 0% and never progress.
Expected Behavior
Download progress should update correctly and complete successfully.
Likely Cause
The asyncssh
get()/sftp.getfo()API uses a different progress callback signature than the paramiko approach. The progress reporting likely needs to be rewired to use asyncssh's native progress handler.Steps to Reproduce
Notes
progress_handlercallback onget()/put()methods