New SFTP plugin available now

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

2flo: I can confirm your observations.
It happens if you open multiple connections at different panels only (= instances of sftp-plugin).

Opening all connections just at one panel will keep the icon state in synch.
#5767 Personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50421
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed Total Commander cannot "know" that the plugin wants to change its icons - you need to switch from an other dir to the connection list to see the change.
Author of Total Commander
https://www.ghisler.com
olesio
Junior Member
Junior Member
Posts: 54
Joined: 2009-01-22, 15:29 UTC
Location: Poland

Post by *olesio »

I'm using total Commander 7.04a and latest version of sftp plugin 0.94 Beta. I hear
about new version from Polish Total Commander forum. And I want to say this is
nice plugin - finally I do not need WinSCP :) But I have few suggestions to this plugin.
I didn't read whole topic because it is very long. If someone post these suggestions
before - forgive me and my bad english ;) Ok, so plugin generally works fine, but
1. User should can not create connection named "_F7=new connection.txt" because
it can not be deleted and I must remove it from sftpplug.ini configuration file manually.
2. When user press enter on _F7=new connection.txt item - a create directory dialog
should popup withou any default name. Not "Connect to SFTP server dialog". I think
it will be better, because right now a connection called "_F7=new connection.txt" is
created and like I wrote - it can not be deleted without manually config ini file edition.
3. In my opinion configuration file sftpplug.ini Should be store in the same directory
as sftpplug.wfx file. That was all from me :) And once again sorry for my bad english.
Best regards: olesio
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50421
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

1. I will try that
2. Sorry, not possible - the suggestion comes from TC, not the plugin...
3. It's not guaranteed that users have write rights there, so it's created in the same dir as wincmd.ini.
Author of Total Commander
https://www.ghisler.com
olesio
Junior Member
Junior Member
Posts: 54
Joined: 2009-01-22, 15:29 UTC
Location: Poland

Post by *olesio »

2. I see. So maybe when user press enter on _F7=new connection.txt item and type host
and username the sesions will be saved as username@host and if exists a (2) or (3) etc
will be added to connection name. Maybe this is possible to code it in a wfx plugins???
3. Aj I forgot about rights, I use XP as admin not Vista, so just forget about problems
with access rights to the files and directories. Finally thank you for very fast reply :)
Best regards: olesio
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

olesio wrote:1. User should can not create connection named "_F7=new connection.txt"
because it can not be deleted and I must remove it from sftpplug.ini configuration file manually.
Tried here, but could not repoduce it. Did you delete the correct one of both (size = 0)?
3. In my opinion configuration file sftpplug.ini Should be store in the same directory as sftpplug.wfx file.
This was one of my 1st suggestions, fine that you request it too. :)

mf
Bankster - Word of the Year 2009
olesio
Junior Member
Junior Member
Posts: 54
Joined: 2009-01-22, 15:29 UTC
Location: Poland

Post by *olesio »

Mikefield wrote:Tried here, but could not repoduce it. Did you delete the correct one of both (size = 0)?
I tried correct one with size 0 bytes But while I testing this thing now. I created in
accidental way a connection called "_F7=new connection.txt" with correct icon and
I deleted sucessfully. But later I created connection with icon bellow which I can not
delete only I can remove it by manually configuration file edit. So - in my opinion the
best solution will be disable "_F7=new connection.txt" connection creation feature.
Image: http://i43.tinypic.com/29ykvuu.jpg
Best regards: olesio
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

Made some further tests, and now I can reproduce.
The problem occures then, when the connection has the same name with extension.
When I create a new connection on _F7=neue Verbindung.txt, then it will only add
_F7=neue Verbindung without the extension. Then the connection has the lock icon.
If the connection has the same name with extension then it is not possible to delete,
and it has a link icon.

mf

I saw, that you are using the 7.04a. I tested with the 7.5pb3 and the 7.04a, but both
remove the extension by default ...
Last edited by Mikefield on 2009-05-26, 20:13 UTC, edited 1 time in total.
Bankster - Word of the Year 2009
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50421
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I see - TC will suggest the name without the extension, so it shouldn't be a big problem. I will strill try to find a solution.
Author of Total Commander
https://www.ghisler.com
Uruloki
Junior Member
Junior Member
Posts: 9
Joined: 2009-05-27, 18:21 UTC

Post by *Uruloki »

Have a problem, not sure why this happens..

Say i have 2 servers, s1 and s2. s1 is on left panel, s2 is on right. The problem is that i can't copy/move files between them! Every time i try to do that, i get 'Error downloading file' dialogue.

For the record, old SFT4TC plugin is perfectly fine. But it freezes when i try to connect to certain servers (whole TC freezes, SFTP4TC is 1.2.58.1a) so that's why i have to use this new one.

Anybody knows how to copy/move/overwrite files btwn 2 servers? Or how to fix old SFTP4TC? It only hangs when trying to connect to newly created servers, old servers that were present for a while are fine. So i guess new servers have some diff ssh daemons installed that SFTP4TC doesn't like.
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

Hi Uruloki, welcome abort!
The old SFTP4TC has stoped developmend, thats also a reason for Christian to write his own plugin.
It's not possible to copy from one to the other Server, you have to store on your local pc first an then
copy to the 2nd server.

mf
Bankster - Word of the Year 2009
Uruloki
Junior Member
Junior Member
Posts: 9
Joined: 2009-05-27, 18:21 UTC

Post by *Uruloki »

Mikefield wrote:Hi Uruloki, welcome abort!
The old SFTP4TC has stoped developmend, thats also a reason for Christian to write his own plugin.
It's not possible to copy from one to the other Server, you have to store on your local pc first an then
copy to the 2nd server.

mf
Yeah, but this defeats the whole 2-panel paradigm... You know, moving files from one panel to another panel ;))

Is this going to be fixed?

I know that SFT4TC is dead, i'm just curious why it hangs on certain servers.. I tried to ask our Systems guys what is different regarding SSH betwee new and old servers but couldn't get any clear response :)
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

Uruloki wrote: Yeah, but this defeats the whole 2-panel paradigm... You know, moving files from one panel to another panel ;))
Yes, I know. But for me, it's needed very rarely, so I can live with it.
Is this going to be fixed?
Christan has answered here , but nothing is impossible. I support your wish.
I know that SFT4TC is dead, i'm just curious why it hangs on certain servers.. I tried to ask our Systems guys what is different regarding SSH betwee new and old servers but couldn't get any clear response :)
IIRC i read about it in a german thread here, and it's depending of the SSH. but not sure.

mf

ADD: Found the Answer here, it's depending on the SSHD. Ver. 4.4p1 is still working, but with 5.0 or above it doesn't.
Bankster - Word of the Year 2009
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50421
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Currently I don't have the time to support server to server transfers, but it would be possible to do it without a local temporary file - the OpenSSL functions would allow to receive a block from one server and immediately send it to the other. But things like resume would be more difficult to add.
Author of Total Commander
https://www.ghisler.com
CoolWater
Power Member
Power Member
Posts: 744
Joined: 2003-03-27, 16:33 UTC

Post by *CoolWater »

Maybe another solution if you have root access (just for installing sshfs) to the server: Use sshfs to mount a sftp connection to a given mountpoint (on server side). Then you can use the plugin to copy/move to the mountpoint as if it were a local path on the server.

Drawback: No progress dialog/bar for copy/move actions...

HTH
CoolWater
Post Reply