New SFTP plugin available now
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50463
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
My plugin just passes the names unchanged to the SFTP functions, it doesn't now about any name problems on the server. Maybe I can add an option like "escape the following characters" or so...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Love the plugin, especially the fact that it also can connect via certificates, has always been a problem here and forced me to change to a different solution.
However I have a small question, is it possible to set the initial directory? Usually I have to be in a specific directory on the server and now I have to change to it. I am currently using the directory menu (ctrl+d) but this would save me time each login...
However I have a small question, is it possible to set the initial directory? Usually I have to be in a specific directory on the server and now I have to change to it. I am currently using the directory menu (ctrl+d) but this would save me time each login...

Please have a look at the very first text line of SFTP-Server properties:Blizz wrote:However I have a small question, is it possible to set the initial directory?
Code: Select all
...(Server/Pfad oder Server:Port/Pfad)...

JOUBE
- ghisler(Author)
- Site Admin
- Posts: 50463
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
For security reasons, only copying is currently supported, not moving. I don't trust the OpenSSH library enough yet to move files without being 100% certain that the target will be complete.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- New Member
- Posts: 1
- Joined: 2009-04-02, 15:20 UTC
bug? by coping java class files to ssh server
Hi,
I found problem by coping files from local disk to SSH server by SFTP 0.92Beta
files with file name like ClassName$AnySubClass.class was uploded as ClassName.class (without part after dollar sign)
Many thanks for new SFTP plugin!
I found problem by coping files from local disk to SSH server by SFTP 0.92Beta
files with file name like ClassName$AnySubClass.class was uploded as ClassName.class (without part after dollar sign)
Many thanks for new SFTP plugin!
- ghisler(Author)
- Site Admin
- Posts: 50463
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This seems to be a problem of some servers - $xyz is interpreted as an environment variable on Unix-based systems, but this shouldn't happen for remote calls. I don't currently see how my plugin should prevent it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Everyone having problem with $ characters, did you try both sftp and scp transfers? ('Use SCP for data transfers' checkbox in connection properties). Does the problem occur in both modes?
There's a known problem with _scp_ and older libssh2 (0.18, the one from cURL package recommended on the first page). The file names are not quoted properly and therefore characters after $ are evaluated by shell as variable. Try to upload e.g. test_$USER.txt and you get test_root.txt or whatever your username is.
This problem is fixed in newer libssh2 version. One is available here:
http://josefsson.org/gnutls4win/libssh2-1.1.zip
(you have to remove "-1" from dll's name).
If you have trouble even in sftp mode, then it would be some other problem.
There's a known problem with _scp_ and older libssh2 (0.18, the one from cURL package recommended on the first page). The file names are not quoted properly and therefore characters after $ are evaluated by shell as variable. Try to upload e.g. test_$USER.txt and you get test_root.txt or whatever your username is.
This problem is fixed in newer libssh2 version. One is available here:
http://josefsson.org/gnutls4win/libssh2-1.1.zip
(you have to remove "-1" from dll's name).
If you have trouble even in sftp mode, then it would be some other problem.
direct commands on TC 7.50pb1
Hello,
I just tested the plugin in the current beta of TC 7.50 (pb1).
Almost everything seems to be working fine except for one little thing.
With TC 7.50 I'm unable to use commands directly typed into the TC command line, anything I type there (when having some SFTP connection open) is just ignored.
With TC 7.0 it was possible to change directories, files permissions etc... in the active SFTP connection this way which I used quite frequently.
I just tested the plugin in the current beta of TC 7.50 (pb1).
Almost everything seems to be working fine except for one little thing.

With TC 7.50 I'm unable to use commands directly typed into the TC command line, anything I type there (when having some SFTP connection open) is just ignored.
With TC 7.0 it was possible to change directories, files permissions etc... in the active SFTP connection this way which I used quite frequently.
- ghisler(Author)
- Site Admin
- Posts: 50463
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hmm, no problem here so far, I tried e.g.
df
or
ps
and the result is shown in the log window.
What commands did you try? And what Windows version do you use?
df
or
ps
and the result is shown in the log window.
What commands did you try? And what Windows version do you use?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Yes, the ones you mention work here as well as some another I just tried.
The most important which doesn't work here is 'cd somepath' which is pretty useful for me.
And as far as I remember there was some another which I just can't recall at the moment.
Tested at Win XP Pro SP3 en-US connected to RHEL 5.3 Linux and HP-UX 11i v2 servers.
The most important which doesn't work here is 'cd somepath' which is pretty useful for me.
And as far as I remember there was some another which I just can't recall at the moment.
Tested at Win XP Pro SP3 en-US connected to RHEL 5.3 Linux and HP-UX 11i v2 servers.
- ghisler(Author)
- Site Admin
- Posts: 50463
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I can confirm that the cd command doesn't work, thanks! When I find the reason, I will fix TC 7.5 and/or then plugin.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com