

Because of the SFTP-Plugin is the best tool. For example for file manager operations: searching, run small commands/scripts on the server and so on... Only the upload/download speed is a bit to slow...
Thanks
Joube
Moderators: Hacker, petermad, Stefan2, white
I just sent you my final adaptions. But I think you misunderstood the buffer size changes. Please see my email for some clarification.ghisler(Author) wrote: 2024-01-19, 08:06 UTC - strange choice of buffer size, seems to converge to 32 seconds(!) per buffer with no upper buffer size limit
I found a lib called TGPuttyLib, which uses the latest Putty sources. It is quite easily to handle but doesn't expose all needed functions like ssh agent calls.ghisler(Author) wrote: 2024-01-18, 15:44 UTC There is a third party Putty based plugin:
https://totalcmd.net/plugring/sftp4tc.html
Unfortunately it hasn't been updated since 2017.
Thanks a lot. I'll test it, but unfortunately it will take some days.ghisler(Author) wrote: 2024-02-02, 14:00 UTC Here is the new beta version of the SFTP plugin with dynamic upload and download buffer sizes provided by CoolWater. It also contains an updated libssh2 library based on the latest final release 1.11:
"a moment" = 20 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.
At first: the most important thing is that the speed has been significantly increased. Thanks for that.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.
Code: Select all
root@OpenWrt:/tmp/test# ls -la
-rw-r--r-- 1 root root 0 Feb 22 15:16 !file
drwxr-xr-x 2 root root 40 Feb 22 15:16 !subdir
drwxr-xr-x 3 root root 100 Feb 22 15:16 .
drwxrwxrwt 17 root root 440 Feb 22 15:16 ..
-rw-r--r-- 1 root root 0 Feb 22 15:16 asdf
Code: Select all
Get directory: \tmp\test
export LC_ALL=C
ls -la /tmp/test/
drwxr-xr-x 2 root root 40 Feb 22 17:37 !subdir
drwxrwxrwt 16 root root 420 Feb 22 17:37 ..
-rw-r--r-- 1 root root 0 Feb 22 17:37 asdf
Code: Select all
Quote: ls -la /tmp/test/
-rw-r--r-- 1 root root 0 Feb 22 17:37 !file
drwxr-xr-x 2 root root 40 Feb 22 17:37 !subdir
drwxr-xr-x 3 root root 100 Feb 22 17:37 .
drwxrwxrwt 16 root root 420 Feb 22 17:37 ..
-rw-r--r-- 1 root root 0 Feb 22 17:37 asdf