New SFTP plugin available now

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
soosdaniel1335
Junior Member
Junior Member
Posts: 8
Joined: 2023-08-28, 07:29 UTC

Re: New SFTP plugin available now

Post by *soosdaniel1335 »

JOUBE wrote: 2023-08-28, 14:49 UTCOn your Lw
What is Lw?
JOUBE
Power Member
Power Member
Posts: 1484
Joined: 2004-07-08, 08:58 UTC

Re: New SFTP plugin available now

Post by *JOUBE »

soosdaniel1335 wrote: 2023-08-29, 07:19 UTC
JOUBE wrote: 2023-08-28, 14:49 UTCOn your Lw
What is Lw?
Sorry: Lw is an abbreviation in German for 'Laufwerk', which means 'drive'.
Lw: HDD/SSD/Disk/Drive/C:/...

If I understand it right: You have only the user root and the password? Is the authentication methods 'password' supported on the server?

The reason why asking about key files is on this image:
soosdaniel1335 wrote: 2023-08-28, 08:39 UTCMy settings: [img]https://i.imgur.com/kGC4sc2.png[/img
The tick is set at option "Use Putty agent (Pageant)". If you can login with user/password remove this tick.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48113
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) »

A new beta version (2) is available now:
https://www.totalcommander.ch/beta/sftpplug310b2.zip
Sources:
https://www.totalcommander.ch/beta/sftpplug_src310b2.zip

What's new?
- The "permissions" custom column showed "L" for all files, not just for links
- The "permissions" custom column showed "-???" instead of -000 for files with all permissions denied
Author of Total Commander
https://www.ghisler.com
JOUBE
Power Member
Power Member
Posts: 1484
Joined: 2004-07-08, 08:58 UTC

Re: New SFTP plugin available now

Post by *JOUBE »

ghisler(Author) wrote: 2023-09-01, 13:06 UTC A new beta version (2) is available now:
https://www.totalcommander.ch/beta/sftpplug310b2.zip
ghisler(Author) wrote: 2023-09-01, 13:06 UTC What's new?
- The "permissions" custom column showed "L" for all files, not just for links
- The "permissions" custom column showed "-???" instead of -000 for files with all permissions denied
Confirmed. Both issues are fixed.

And yes, the new columns 'user' und 'group' are usefull.

Test of the new version (with a folder which have more then 70.000 files in it): It looks like it is not slower as previous versions of the plugin.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48113
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) »

Thanks for your feedback! Please let me know if there are any other issues, otherwise I will bring out an official non-beta release version.
Author of Total Commander
https://www.ghisler.com
JOUBE
Power Member
Power Member
Posts: 1484
Joined: 2004-07-08, 08:58 UTC

Re: New SFTP plugin available now

Post by *JOUBE »

ghisler(Author) wrote: 2023-09-03, 08:11 UTC Thanks for your feedback! Please let me know if there are any other issues, otherwise I will bring out an official non-beta release version.
- I tested it with a folder with many files (>70.000): It is _not_ slower, which is the main important thing!
- Switching between Views short and plugin specific (with colums user and group and Attr (permissions)) is ok.
- Windows (with OpenSSH) is ok.

I have not tested "scp only" yet. I will do it: Now I have tested it. It is okay: it is _not_ slower, which is the main important thing!

Joube

Helpfull: With this new feature I found randomly an issue on one of the systems here, where some symlinks have wrong rights for user/group.
JOUBE
Power Member
Power Member
Posts: 1484
Joined: 2004-07-08, 08:58 UTC

Re: New SFTP plugin available now

Post by *JOUBE »

2ghisler

Halt, stop, do not release 3.10 yet.

The -p parameter for server-server copy is still missing. Without it, server-server copying is completely useless. Please make yourself a little bit informed about it (POSIX, unixoids, etc.), and please implement this before the release of 3.10.

Thanks

joube
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48113
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) »

Sorry, you need to provide more information, this doesn't tell me anything at all. -p parameter for what? scp?
Author of Total Commander
https://www.ghisler.com
JOUBE
Power Member
Power Member
Posts: 1484
Joined: 2004-07-08, 08:58 UTC

Re: New SFTP plugin available now

Post by *JOUBE »

ghisler(Author) wrote: 2023-09-04, 14:19 UTC Sorry, you need to provide more information, this doesn't tell me anything at all. -p parameter for what? scp?
Suggestion: add parameter -p for server server copying

When Tc11 is released, next step should be a look at the SFTP plugin
JOUBE
Power Member
Power Member
Posts: 1484
Joined: 2004-07-08, 08:58 UTC

Re: New SFTP plugin available now

Post by *JOUBE »

Dalai wrote: 2023-08-19, 14:24 UTC 2JOUBE
Well, then make a suggestion to change or expand the WFX plugin interface - one that works and makes sense not just for this plugin but for all of them.
I would like to answer this for the moment conclusively: In my opinion, a change is not necessary at the moment. I usually use plugins - like the Tc itself - in the short view. It was important for me that the SFTP plugin always starts in this view and also returns to this view when I terminate a SFTP connection, even if I have switched to the Lang view in the meantime during the connection (because of the new columns user and group). I can achieve this with a ViewMode and a ViewModeSwitch.

Code: Select all

[ViewModes]
n_name=SFTPMainView
n_icon=
n_options=0|0|0||-1|-1|-1|-1|-1
[ViewModeSwitch]
m_rules=P|&+\\\Secure FTP\
m_mode=n
Joube
zorg
Junior Member
Junior Member
Posts: 13
Joined: 2017-07-14, 03:05 UTC

Re: New SFTP plugin available now

Post by *zorg »

There's a typo in one of the Help dialog boxes for the SFTP plugin:

- Install the SFTP Plugin (v3.05)
- Click on the Network icon in the drive bar
- Doubleclick on 'Secure FTP'
- Doubleclick on '_Quick Connection'
- Click on the questionmark button to the right of the text 'Password:'

The last line of the help dialog has the following text:
' "KeyPassword","LoginPasswort" '

The last character should be 'd'.

If I've posted this to the wrong topic, please move the post. Thanks.

Edit: The above was all done using the latest (11.01) version of TC.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48113
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) »

Confirmed, thanks.
Author of Total Commander
https://www.ghisler.com
JOUBE
Power Member
Power Member
Posts: 1484
Joined: 2004-07-08, 08:58 UTC

Re: New SFTP plugin available now

Post by *JOUBE »

Please don't forget to examine and modify the Server Server Copy feature, which is unfortunately currently unusable because it does not preserve the files date. This is very inconvenient for me, always copying everything to the local PC and then copying it back up just to get the file date. Or I have - alternatively - log onto the server itself in order to do the server server copying there via "cp -p". Often I start server server copying by mistake and have to abort and delete already copied files because I remember too late that it sucks.

Now Tc11.02 has been successfully released...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48113
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) »

A new beta version (3) is available now:
https://www.totalcommander.ch/beta/sftpplug310b3.zip
Sources:
https://www.totalcommander.ch/beta/sftpplug_src310b3.zip

What's new?
- Detect when remote server is missing scp command, so the libssh2 dll doesn't crash. scp error shows up in log
- Remote copying files with F5 between two folders on the server: Use parameter -p to keep the file timestamp (retry without in case of error, turn off if error recognized)
Author of Total Commander
https://www.ghisler.com
JOUBE
Power Member
Power Member
Posts: 1484
Joined: 2004-07-08, 08:58 UTC

Re: New SFTP plugin available now

Post by *JOUBE »

ghisler(Author) wrote: 2023-11-28, 16:45 UTC What's new?
- Remote copying files with F5 between two folders on the server: Use parameter -p to keep the file timestamp (retry without in case of error, turn off if error recognized)
A first test. Very nice, it works as aspected. Many thanks. It is an important feature and very usefull.

Joube
Post Reply