RNCP status error
jacobeva opened this issue · 7 comments
Describe the Bug
rncp shows an incorrect total file size. e.g. transferring a large file using it will show an inaccurate percentage and total size of file (I assume it does not account for the lossless compression in these calculations). I can tell this because it seems to exit the transfer prematurely according to the status, but the file has been successfully copied in its entirety.
To Reproduce
Copy any large file (2MB+) using rncp over a link slow enough for you to see the progress.
Expected Behavior
The file transfer status should be accurate, showing an accurate total size of the file (maybe the compressed size and then the actual size in brackets) along with an accurate percentage.
Logs & Screenshots
Please see the video below:
https://youtu.be/TD4wPWWzXmQ
System Information
- Arch Linux - Kernel 6.9.6-arch1-1
- Python 3.12
- rncp 0.7.5