JOUBE wrote: 2024-02-05, 09:33 UTCCompletely unimportant in the beta at the moment, but essential for a release: the remaining time is completely wrong (for example it shows 2 minutes when it still takes 15 minutes).
ghisler(Author) wrote: 2024-02-05, 10:12 UTC
The remaining time is calculated by Total Commander, not by the plugin. It's based on the speed during the last few seconds (averaged), so it can take a moment to get accurate values, or not get good values when the speed varies too much.
ghisler(Author) wrote: 2024-02-06, 10:12 UTC
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.
I've tested it now and the remaining time works much better now. Thanks.
Although it is not documented in history.txt, there must have been internal changes in the main Tc program so that the remaining time now matches the actual time used fairly well.
From my point of view, nothing stands in the way of releasing the plugin in the new version.
Edit: Once again adding the note: the new dynamic routines should only be used during file transfers and not during operations such as reading of directories, quoting, etc.
Joube
PS.: Interestingly, despite the significantly increased transmission performance, the absolute amount of data has hardly increased, if I understand correctly. Previously, a lot of data were spent managing the transfer.