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
CoolWater
Power Member
Power Member
Posts: 744
Joined: 2003-03-27, 16:33 UTC

Post by *CoolWater »

2dilemma

By adding the desired path to the host entry in the properties dialog of your connection, i.e. myhost.com:22/var/www/...

Regards,
CoolWater
Quitch
Junior Member
Junior Member
Posts: 4
Joined: 2011-01-25, 10:08 UTC

Post by *Quitch »

I must be being simple because I can't figure out how to use the plugin :)

I downloaded it to my desktop and also moved the DLL files there, then added the plugin from this location to Total Commander... but what now? The readme says "You can now use the plugin in Network Neighbourhood".

Eh?
User avatar
white
Power Member
Power Member
Posts: 5747
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

Quitch wrote:The readme says "You can now use the plugin in Network Neighbourhood".

Eh?
Network Neighborhood (Windows 95, Windows NT 4.0 and Windows 98 ) is called My Network Places in later Windows versions until in it changed into Network since Windows Vista.

To get there use one of the following:
  • Go to desktop folder (menu option Commands/Open Desktop Folder),
    then go to Network Neighborhood/My Network Places/Network
  • Use one of the following commands at the command line or assign it to a Start menu entry, Button on the button bar, Directory hotlist entry, hotkey, or alias.

    Code: Select all

    cd \\

    Code: Select all

    cm_OpenNetwork
Look for the entry named "Secure FTP" when in Network Neighborhood.

To go directly to the file system added by the plugin use:

Code: Select all

cd \\\Secure FTP
User avatar
white
Power Member
Power Member
Posts: 5747
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

Quitch wrote:I downloaded it to my desktop and also moved the DLL files there, then added the plugin from this location to Total Commander
You should not move the DLLs to your desktop.
readme.txt wrote:1. Download the above package
2. Unpack the dlls to the same directory to which you auto-installed sftpplug.wfx
So first install the plugin. During installation you will be prompted for a location to store the plugin. After installation move the DLLs to the same location.
Quitch
Junior Member
Junior Member
Posts: 4
Joined: 2011-01-25, 10:08 UTC

Post by *Quitch »

The steps listed are:

Configuration
Options
Operation
FS-Plugins
Add
Then I double-click the WFX file, which exists in the same folder as the DLLs. I am not prompted to do anything, it returns me to the FS-Plugins screen with Secure FTP listed in the window.

No entry appears in My Network Places.
User avatar
white
Power Member
Power Member
Posts: 5747
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

Quitch wrote:The steps listed are:

Configuration
Options
Operation
FS-Plugins
Add
Then I double-click the WFX file, which exists in the same folder as the DLLs. I am not prompted to do anything, it returns me to the FS-Plugins screen with Secure FTP listed in the window.

No entry appears in My Network Places.
Go to the start of this topic to download SFTP Plugin 1.0 final. Just double click the zip file from within Total Commander to install the plugin.
Quitch wrote:No entry appears in My Network Places.
Where did you look? In My Network Places in Windows or in My Network Places in Total Commander? File system plugins for Total Commander only work in Total Commander not in Windows. So it will not show up in My Network Places in Windows.
Quitch
Junior Member
Junior Member
Posts: 4
Joined: 2011-01-25, 10:08 UTC

Post by *Quitch »

If I double-click the ZIP it only opens the ZIP. However, now I'm looking at the right Network Neighbourhood I can try to make connections.

There's a text file which says F7 makes a new connection, but this still appears to be mapped to the New Folders key. Is this different in later versions (6.04 here).
User avatar
white
Power Member
Power Member
Posts: 5747
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

Quitch wrote:If I double-click the ZIP it only opens the ZIP. However, now I'm looking at the right Network Neighbourhood I can try to make connections.

There's a text file which says F7 makes a new connection, but this still appears to be mapped to the New Folders key. Is this different in later versions (6.04 here).
Automatic installation of plugins was introduced in version 6.50. The last version before that was 6.03a. See List of changes.

There is no legal 6.04 version! I recommend to uninstall the program and download and install the latest version.

It seems however the plugin was correctly installed in your illegal version. Just press F7 and enter a name in order to create a virtual folder for your SFTP site.
Quitch
Junior Member
Junior Member
Posts: 4
Joined: 2011-01-25, 10:08 UTC

Post by *Quitch »

Sorry, my bad, 6.0.2.

Ah, I see, I was confused by the dialog box. I will give that a try.
User avatar
white
Power Member
Power Member
Posts: 5747
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

Quitch wrote: Ah, I see, I was confused by the dialog box. I will give that a try.
It should work. I did a quick test with TC 6.02 and it seems to work okay.
larry99
Junior Member
Junior Member
Posts: 62
Joined: 2009-01-16, 16:03 UTC
Location: Germany

per connection proxy settings

Post by *larry99 »

I would like to revive an old request for this plugin: It would be so helpful if it was possible to define per connection proxy settings.

At least I didn't see any reply to the request from last year, so I would be interested in some comment if there is any chance to see this in the foreseeable future.

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

Post by *sqa_wizard »

2larry99: There is already a "per connection proxy setting" for the SFTP plugin ...
#5767 Personal license
larry99
Junior Member
Junior Member
Posts: 62
Joined: 2009-01-16, 16:03 UTC
Location: Germany

Post by *larry99 »

sqa_wizard wrote:2larry99: There is already a "per connection proxy setting" for the SFTP plugin ...
But how is it done? I just tried it:
- right-click connection1 -> properties -> enter proxy settings
- right-click connection2 -> properties - I see the proxy settings for connection1 -> change it to correct settings for connection2
- go again to settings for connection1 - I see the settings for connection2

So, whenever I change a proxy setting, it seems to become global for all connections.

And in the sftp.ini file I can see the reason: there is one chapter [proxy] and no proxy-settings within the connection chapters.

I just made sure I have version 1.0 final of the plugin and the most recent crypt libs

What am I missing?
larry99
Junior Member
Junior Member
Posts: 62
Joined: 2009-01-16, 16:03 UTC
Location: Germany

Post by *larry99 »

I just checked the source and although I do not know any C++, codelines like
GetPrivateProfileString("proxy","proxyserver","",ConnectResults->proxyserver,sizeof(ConnectResults->proxyuser)-1,gIniFileName);
(similar for the other proxy settings and writing)

look very much like it is not yet implemented but should be easy by a simple change from "proxy" to gDisplayName

If Mr. Ghisler doesn't want to add/change it, are there any compilation instructions? As I said I am not really a C(++) programmer but have somtimes compiled programs by just calling (n)make.
I should have an old version of MS VS6 around. Does that work? And do I need any addtional sources/header files for the crypt libs?

Or could some kind soul with the necessary knowledge just compile it with these minor changes?

Thanks
User avatar
Nigurrath
Senior Member
Senior Member
Posts: 225
Joined: 2003-02-05, 12:41 UTC

Post by *Nigurrath »

Hi,
since few time I have problems with this plugin.

It was working perfectly with several sites. I didn't change anything on servers and TC ini, but lately I always get problems in the login phase.

The session starts, it also starts the password authentication, but at the end I always get this error

SFTP Error
Error: Could not initialize SFTP session!
Unable to request SFTP subsystem

I of course have all the correct libraries in place (this plugin was working earlier). The server configuration is also correct because with exactly the same settings WinSCP correctly connects to the remote servers.

So any glues? Anyone else experiencing something similar?

thanks
always latest 32b TC on a WIN10 64b
Post Reply