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
User avatar
Mishail
Junior Member
Junior Member
Posts: 12
Joined: 2009-04-17, 03:20 UTC
Location: Vladivostok

Post by *Mishail »

2Blizz
What's the version of curl-package are you using? I'm observing the similar issue using libraries from "curl-7.19.7-devel-mingw32.zip". Hovewer from "curl-7.19.5-devel-mingw32.zip" work fine for me.

TC 7.50a, WinXP Sp3

P.S. 7.19.5 has a bug - it's unable to transfer files with spaces in names. So I'm going to stick with 7.19.4 (from here for ex.)
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

2Blizz,

Try disabling SCP mode and see if that fixes the problem.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, Mark.
MarkFilipak wrote:
CG wrote:Why not put it in the Wiki?
A TC Wiki that has been around since 4 May 2005? Certainly a well kept secret.
1 - There doesn't seem to be a link to the Wiki anywhere.
The T.C. WIKI is not a secret at all.
As has been explained before, there is a sticky article inside each T.C. subforum pointing to the WIKI. E.g. Total Commander Knowledge Base (Wiki)
You can hardly blame the WIKI if readers choose to ignore sticky articles.
Moreover the T.C. homepage points to the T.C. WIKI, too: Total Commander => Total Commander Support => Totalcmd WIKI
2 - If I put the documentation in the Wiki, who'd see it?
All those who want to see it and who care to search or ask for it?
3 - There doesn't seem to be any place for documentation projects or for plugins.
I am not quite sure what it is inside the WIKI that you are missing, a particular section titled "Plugins" perhaps?
4 - The link to the libcurl-based sftpplugin seems to have been removed from the plugins page.
Please, check the very first post in this thread, Christian announcing his SFTP Plugin. Both links are there, the link to the SFTP plugin as well as the link where we can get the libcurl DLLs.
5 - Looks like I've been wasting my time.
Well, if you invested a lot of time and created a helpfile for the SFTP plugin and if you do not publish the helpfile, in this case you may be right. If, however, you put it in the T.C. WIKI e.g. and announce your creation here, giving the direct link, too, then I do not see why this should be a waste of time. :?

Kind regards,
Karl
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Mishail wrote:What's the version of curl-package are you using? [...]
P.S. 7.19.5 has a bug - it's unable to transfer files with spaces in names. So I'm going to stick with 7.19.4 (from here for ex.)
Hm, as a matter of fact, using this combination:
+ libeay32.dll and libssh2.dll taken from curl-7.19.6-devel-mingw32.zip
+ plus sftpplug.wfx v0.94beta
transferring files which have space characters in their names works correctly.
SCP mode is, by default, switched off. Option unticked.

Karl
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

Installed the latest Curl version yesterday and have no problems here (curl-7.19.7-devel-mingw32).
But I'm using Win XP, not Win7. Had problems with authentication on an older Sun Solaris system,
but with the latest Curl no problems anymore.

2 Karlchen, you know, that Blizz is using Win7?

mf
Bankster - Word of the Year 2009
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, Mikefield.

Hm, seems that I missed this fact. :oops:
Windows 7 might make the difference.
So far I have used the SFTP plugin on 32bit versions of Windows XP Prof SP2 and Windows 2003 Std SP2 only.

Cheers,
Karl
User avatar
Mishail
Junior Member
Junior Member
Posts: 12
Joined: 2009-04-17, 03:20 UTC
Location: Vladivostok

Post by *Mishail »

2karlchen
Sorry for not mentioning. That was for SCP mode
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The SCP functions of the OpenSSH library seem to be a bit buggy - in some versions they work with names with spaces, in some they don't, I really cannot see any pattern here. If it doesn't work, you will have to disable SCP mode and wait for the next release of the library. :(
Author of Total Commander
https://www.ghisler.com
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

2ghisler(Author),

I have problems with SCP mode with regular filenames.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3867
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

2Boofo Just for the records: Which Curl version are you using ?
#5767 Personal license
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

2sqa_wizard,

I just upgraded to the current version (curl-7.19.7-devel-mingw32) but I have always have problems with SCP mode with this plugin.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
Mishail
Junior Member
Junior Member
Posts: 12
Joined: 2009-04-17, 03:20 UTC
Location: Vladivostok

Post by *Mishail »

BTW, curl.exe from curl-7.19.7-devel-mingw32 does upload all kind of files via SCP (scp://) without any problem
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Well, I can't do much more than just call libssh2_scp_recv, so I wonder what I need to do differently to make it work...
Author of Total Commander
https://www.ghisler.com
User avatar
Mishail
Junior Member
Junior Member
Posts: 12
Joined: 2009-04-17, 03:20 UTC
Location: Vladivostok

Post by *Mishail »

2ghisler(Author)
Hi Christian,
Just out of curiosity, didn't you try to use libcurl API functions (curl_easy_perform for ex.) instead of calling libssh2 API directly?
Or you intentionally decided to not rely on libcurl?
Thanks.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I had the direct calls implemented before I knew abour libcurl. But libcurl also uses this dll, so it has to use the same calls?
Author of Total Commander
https://www.ghisler.com
Post Reply