At first: the most important thing is that the speed has been significantly increased. Thanks for that.I have checked it in the debugger now: The problem is that the plugin now sends progress callback messages to Total Commander even when the amount of uploaded data hasn't changed. That's because the block size is so big that the ssh library returns ERROR_EAGAIN multiple times until the block has finally been sent. This results in incorrect speed readings. I will add a fix to Total Commander 11.03 RC5. I can't fix it in the plugin because the callbacks are also important to not freeze the program during the transfer.
The remaining time display is basically just an accessory.
But if the remaining time is shown, then it should be in the right order of magnitude.
- But if that's not possible, then it's better to simply leave it out and not display the remaining time.
- The green bar shows the correct data, so the Tc could perhaps refer to it and calculate remaining time itself based on this.
These would be my suggestions so that there are no complaints at the release time of the new version of the plugin.
It is important that the new routines are only used for uploading and downloading files and never used in other parts of the plugin, nor when loading the directory list, changing directories, connecting, etc. (which now seems a bit slower and more awkward to me? But I can fool me)
Joube
Statistics: Posted by JOUBE — 2024-02-06, 20:31 UTC