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
ghisler(Author)
Site Admin
Site Admin
Posts: 50463
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

SFTP-Plugin version 0.94 has just been released!

It now supports Unicode file names, and different server encodings just like built-in ftp. It still works also on Win9x and with older versions of Total Commander.

See the first post of this thread for the download addresses.
Author of Total Commander
https://www.ghisler.com
andres992
Member
Member
Posts: 124
Joined: 2006-04-12, 21:26 UTC

Post by *andres992 »

I am having a problem with 0.9.4 beta, using TC 7.04a.

I have a large file (82 MB) and I want to upload it through SFTP. When uploading the file, CPU goes 90-100 and everything else besides TC becomes incredibly slow.

When I tested the same situation with 0.9.1 beta, this problem did not occur.
#68776 Personal Licence
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

CPU goes 90-100 and everything else besides TC becomes incredibly slow
That means you are using an operating system which isn't capable of properly assigning CPU resources.
User avatar
X-Byte
Member
Member
Posts: 173
Joined: 2004-11-29, 09:34 UTC
Location: Hessen, Germany

Post by *X-Byte »

Are you using the same file in your tests? Maybe it is an archive and some virus scanner goes mad as it tries to scan the archive contents? I had this situation with McAfee occassionally in the company.
andres992
Member
Member
Posts: 124
Joined: 2006-04-12, 21:26 UTC

Post by *andres992 »

I am using XP SP2. And when I tested with 0.9.1 beta, I tested it with the same OS without any problem.

I did the tests with one and the same file, no antivirus running at all, neither on my system nor on the server.
#68776 Personal Licence
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

Hmm, the sftpplug094beta is near desgned for the new 7.5 version of TC (unicode).
At this time the public beta test is running. Did you tried this also with the new beta of TC?

mf
Bankster - Word of the Year 2009
andres992
Member
Member
Posts: 124
Joined: 2006-04-12, 21:26 UTC

Post by *andres992 »

No, I did not. Anyhow, I think that this need not be connected with the new TC version, and the plugin should also work with TC 7.0 even when TC 7.5 is out.
#68776 Personal Licence
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50463
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I can reproduce the high CPU load when using SFTP mode transfers, but not when using SCP transfers, so please try using SCP if you can. It seems to be a problem with OpenSSH library in nonblocking mode. I will try to find a workaround.
Author of Total Commander
https://www.ghisler.com
User avatar
franck8244
Power Member
Power Member
Posts: 704
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

Is there away to -hide- "F7=New Connection" and "Quick Connect" entries?
TC#88260 -
mag
Junior Member
Junior Member
Posts: 35
Joined: 2008-10-06, 08:35 UTC

special characters in SCP mode

Post by *mag »

Hello again,

thanks for the new version 0.94 which resolves the empty password issue in TC 7.5, nice job :)

Just one question - any progress regarding the already reported issue special characters in filenames?
In particular '$' causes some troubles and even more interesting is '&' which is able to completely freeze the TC.

I did few quick tests against the Linux and HP-UX servers and it always does the same so it seems to be a generic issue related to special meaning of these characters which then need to be escaped in order to be processed as just regular ones.

I also noticed that the issue occurs in SCP copy mode only, in SFTP mode it works fine.

Tested with TC 7.04a and plugin 0.94 with default plugin settings. I only switched between the SCP and SFTP copy modes.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50463
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2franck8244
No, unfortunately not, only by changing the code yourself.

2mag
I'm not sure what to do, it may change with one of the next releases of the openssl dlls. The SCP copy functions seem to be quite faulty. For example, they also fail to work with Unicode names (downloads only, uploads work fine). I think that it's quite hopeless to try to report this as a bug to the developpers. They know about the non-working non-blocking mode for years without fixing it.
Author of Total Commander
https://www.ghisler.com
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

ghisler(Author) wrote: No, unfortunately not, only by changing the code yourself.
I tried to hide these with the ignorlist, but it's ignored (the entry in the ignorlist).
Is it possible to enable it for Plugins?

mf
Bankster - Word of the Year 2009
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

Mikefield wrote:I tried to hide these with the ignorlist, but it's ignored (the entry in the ignorlist).
Is it possible to enable it for Plugins?
Support!
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50463
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The ignore list is currently meant for the file system only. It's described like this in the help too. It would be dangerous to change that now where many people may have defined ignore lists. The only way would be to support a special ignore list item format for plugins...
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

ghisler(Author) wrote:The only way would be to support a special ignore list item format for plugins...
Why not an option in wincmd.ini to extend current ignore list to FS-plugins and virtual folders?
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply