Double-clicking on “~” works, but the configuration change does not work.ghisler(Author) wrote: 2025-06-06, 08:59 UTC 2Schultheis
Oh, that explains it, it's as I suspected! SFTP seems to expect directories relative to your home folder, while SCP expects directories relative to the root of the system.
Either double click/press Enter on "~" in the list to go to the home directory. Or change the configuration of the connection fromdon't see any way to automatically switch to the correct directory
your_server_name
to
your_server_name/home/your_user_name
New SFTP plugin available now
Moderators: Hacker, petermad, Stefan2, white
-
- Member
- Posts: 145
- Joined: 2004-03-04, 14:56 UTC
- Location: Germany
Re: New SFTP plugin available now
-
- Member
- Posts: 145
- Joined: 2004-03-04, 14:56 UTC
- Location: Germany
Re: New SFTP plugin available now
Schultheis wrote: 2025-06-07, 21:15 UTCDouble-clicking on “~” works, but the configuration change does not work. Perhaps the link will only be set correctly during login.ghisler(Author) wrote: 2025-06-06, 08:59 UTC 2Schultheis
Oh, that explains it, it's as I suspected! SFTP seems to expect directories relative to your home folder, while SCP expects directories relative to the root of the system.
Either double click/press Enter on "~" in the list to go to the home directory. Or change the configuration of the connection fromdon't see any way to automatically switch to the correct directory
your_server_name
to
your_server_name/home/your_user_name
- ghisler(Author)
- Site Admin
- Posts: 50817
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
After double clicking on "~", click behind the path above the file window to copy it. Then use that (minus the "\\\Secure FTP\" part at the start) in the configuration. You can use either forward slashes or backslashes.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Member
- Posts: 145
- Joined: 2004-03-04, 14:56 UTC
- Location: Germany
Re: New SFTP plugin available now
Thank you, Christian! That's the perfect solution!
I just had to leave out the name for the connection in the path 


-
- Member
- Posts: 145
- Joined: 2004-03-04, 14:56 UTC
- Location: Germany
Re: New SFTP plugin available now
Now there is only one flaw: the larger the transferred file, the greater the displayed transfer speed appears to be (but only appears to be!) and, analogously, the smaller the expected remaining time. Apparently I can copy a file over 9 GB in size to my homepage at over 80 MB/s, a file approx. 1.5 GB in size at over 11 MB/s and a file 100 MB in size at less than 2 MB/s. Theoretically, I can achieve 3 MB/s, so this is realistic for the smallest file.
-
- Member
- Posts: 145
- Joined: 2004-03-04, 14:56 UTC
- Location: Germany
Re: New SFTP plugin available now
It is apparently always assumed that the transmission will take a maximum of 2 minutes, and the displayed data rate is adjusted accordingly. The error should be easy to find. Curious!
- ghisler(Author)
- Site Admin
- Posts: 50817
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
No, the transfer does usually get faster the larger the file is, especially when downloading! The server starts with a reduced speed and increases it more and more to prevent packet loss when sending them too quickly.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Member
- Posts: 145
- Joined: 2004-03-04, 14:56 UTC
- Location: Germany
Re: New SFTP plugin available now
Did you read my penultimate post? The TC reports with a big file (> 9 GB) a transmission speed of over 80 MB/s, but my connection only gives 3 MB/s. And a 9 GB file is not transferred in 2 minutes, as the TC promises. There is a strange error in the speed and the remaining time in the code, believe me! TC 11.51
- ghisler(Author)
- Site Admin
- Posts: 50817
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
Maybe compression is enabled?The TC reports with a big file (> 9 GB) a transmission speed of over 80 MB/s, but my connection only gives 3 MB/s.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: New SFTP plugin available now
Please always publish the source code of the library - you've modified - along with the plugin. I haven't checked whether the license for the library requires this, but regardless, the plugin source code is less useful without the source code of the modified library.ghisler(Author) wrote: 2025-06-04, 08:55 UTC Beta 9 is available now:
https://www.totalcommander.ch/beta/sftpplug310b9.zip
The source code is unchanged because I only made changes to the libssh2 dll:
1. I have reduced the overhead from debug logging, in the hope that the login error can be reproduced with it now.
2. By user request, I have added support for login with password+second factor in separate messages, used by the Bitvise SSH server.
-
- Member
- Posts: 145
- Joined: 2004-03-04, 14:56 UTC
- Location: Germany
Re: New SFTP plugin available now
No! It's a mp4 file that any compressor will bite its teeth out on! Furthermore, it doesn't take 2 minutes as stated, but much, much longer (I haven't measured it now, but after 2 minutes only a fraction of the file has been transferred).ghisler(Author) wrote: 2025-06-09, 08:55 UTCMaybe compression is enabled?The TC reports with a big file (> 9 GB) a transmission speed of over 80 MB/s, but my connection only gives 3 MB/s.