Hi,
I use the "Secure FTP" plugin from Christian as well as "sftp4tc".
Now I have an SSH server which has SFTP subsystem turned off (explicitely) do I need to go via SCP.
The first one, sftp2tc does not even have an option for SFTP vs. SCP so apparently it attempts to connect via SFTP ... and fails.
The second one has the option "[x] Use SCP for data transfers (faster!)" which I explicitely ticked. However, when I connect, I still get: "Error: Could not initialize SFTP session! Unable to request SFTP subsystem!". Of course, it does not exist but I also told it to not use it!
So currently I need to use WinSCP which works perfectly with SCP but is very cumbersome because I do everything else in TC.
Is this a bug in the plugin(s)? Is there hope that this could get fixed?
Thanks
dx
Bug in SFTP plugin(s)? Does not use SCP?
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, TC still needs the SFTP subsystem to get the directory listings! SCP is only used to download and upload files. There is no command in SCP to get directory listings. TC would have to open a terminal and send ls -l or so, but this can have language-specific month names and system-specific output format, so I'm not doing this.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Can't you do something likeghisler(Author) wrote:TC would have to open a terminal and send ls -l or so, but this can have language-specific month names and system-specific output format, so I'm not doing this.
Code: Select all
LANG=C ls -l
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Unfortunately the complete SFTP subsystem is disabled/removed. There is no sftp-server command on the server.Go to the "SFTP4TC Options" and enter the path to the sftp subsystem at "special SFTP command".
On centos this is "/usr/libexec/openssh/sftp-server" but you can also use an own executable in your home folder.
I also have various embedded devices. For all of them, WinSCP works perfectly but no single Total Commander plugin. Very frustrating ...
This output might still be system specific, there is no general rule. SCP is intended for only copying.Can't you do something liketo avoid any locale-specific output?Code: Select all
LANG=C ls -l
In my opinion, it's still frustrating because software like WinSCP can do it too and there are just so many systems where SFTP is no option

Put a copy of the sftp-server binary in your users bin folder and configure "/home/dydx/bin/sftp-server".dy/dx wrote:Unfortunately the complete SFTP subsystem is disabled/removed. There is no sftp-server command on the server.Go to the "SFTP4TC Options" and enter the path to the sftp subsystem at "special SFTP command".
On centos this is "/usr/libexec/openssh/sftp-server" but you can also use an own executable in your home folder.
For android sftp-server binary have a look here: https://code.google.com/p/droidsshd/issues/detail?id=1#c6
Bebbo