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
white
Power Member
Power Member
Posts: 4620
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

rzea wrote:
    • _Quick Connection = You will use this option to create your connection and save your credentials, otherwise you'll have to type them every time you want to connect.
  • Press F7 with the _Quick Connection option selected.
You don't have to select the _Quick Connection entry when pressing F7. They are separate functions. Use F7 to create a connection (save credentials for a certain sftp server). Use '_Quick Connection' to connect to a SFTP server without making a connection first.
User avatar
tcsoft
Junior Member
Junior Member
Posts: 12
Joined: 2006-10-07, 10:23 UTC
Location: .at

Post by *tcsoft »

The only thing that keeps me using WinSCP is the lack of beeing able to switch easily beween open sftp connections. When I open a FTP connection for example, I get an additional icon for this connection in the drive-button-bar. This is not the case when using the SFTP plugin. The only workaround for this seems to be, to add every sftp connection to the directory quick menu. But this is still not very handy.
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

There is a typo in the readme.txt: deallocaion -> deallocation
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Nux
Junior Member
Junior Member
Posts: 40
Joined: 2009-04-19, 08:05 UTC

Post by *Nux »

Hi. I'm using libraries from version 7.34.0 of curl and it almost works...

Here's what i did:
1. Downloaded 32-bit and 64-bit version.
2. From bin folder of curl-7.34.0-devel-mingw32 I copied all dll files to %COMMANDER_PATH% (replacing existing ones).
3. From bin folder of curl-7.34.0-devel-mingw64 I copied all dll files to %COMMANDER_PATH%\64
4. Installed Secure FTP automatically (by opening zip in Total Commander).
5. Opened \\\Secure FTP\ and added a connection.

So far it works - I can view folders, download and upload files.

The problem is I cannot create files (SHIFT+F4). So I'm wondering is this a problem with dll versions or is this feature currently not available?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, this function isn't currently supported in any plugin.
Author of Total Commander
https://www.ghisler.com
valexiev
Junior Member
Junior Member
Posts: 28
Joined: 2008-03-31, 09:59 UTC

sftpplug.wfx:FsFindFirstW exception connecting through VPN

Post by *valexiev »

I use sftpplug.wfx64 1.4.1, libeay32.dll 1.0.0j, libssh2.dll 1.4.2.
I connect fine to a host by name.
But from home (when connected through VPN), I try to connect by IP and I get the exception below.
cygwin ssh to the same IP works fine.


---------------------------
Total Commander 8.01
---------------------------
Exception in sftpplug.wfx:FsFindFirstW!
Access violation at address 6305E326. Read of address 00000000
Windows 7 SP1 6.1 (Build 7601)

Please report this error to the Author, with a description
of what you were doing when this error occurred!

Windows exception: C0000005
Stack trace:
6305E326
636B3F 444AD1 446A22 423F38 445FE3 423F38
445F51 423F38 444AD1 4460A5 446A22 423F38
445FE3 423F38 429556 42968C 652B87 652F1A
69A3D4 69A4AF 4E5CCF >656270 5DE584 5E2F8E
6A189B 6A1DDF 554F98 64859A 63AA8B 44755F
4460A5 446A22 423F38 445FE3 423F38 429604
42969C 6D9F34
Raw:
445FE3 636B3F 637047 402E4A 444AD1 446CF1
446D3F 425C14 4460A5 446A22 446A45 423F38
445FE3 423F38 445F51 423F38 446D9B 447158
4360F3 444AD1 446CF1 435E92 446033 4460A5
446A22 446A45 423F38 445FE3 423F38 429556
42968C 669CD2 40650F 6D764F 652B87 41D22D
4D0043 6D6E13 6CFB90 6CF5DF 6CFE88 660071
660075 660071 660075 660071 660075 4D0043
4D0043 660075 660071 640008 660071 6D6781
59B298 447299 6D6781 652F1A 660071 660071
valexiev
Junior Member
Junior Member
Posts: 28
Joined: 2008-03-31, 09:59 UTC

Re: sftpplug.wfx:FsFindFirstW exception connecting through V

Post by *valexiev »

I use TC 64bit.
I restarted TC several times with the same result.
Then I restarted as Administrator and it connected fine.
And now it works fine even if started as normal user. Go figure?!
leonardo725
New Member
New Member
Posts: 1
Joined: 2014-09-16, 08:52 UTC

Cannot delete local file after download from server

Post by *leonardo725 »

I have found a bug, to reproduce use this:

1.) upload a file to server,
2.) then download it back (confirm owerwrite dialog)
3.) uploading the same file on the server does not work: "Error uploading file test.txt" and file can not be deleted from local side: "Error: file cannot be deleted! Please remove the write protection!" I tried to change attributes of local file, but i cant still it delete.

Im using TCMD 7.50a 32bit, Windows 7 64bit, latest SFTP plugin version 1.4.1. Checked "Use SCP for data transfers (faser!)".

When using this plugin to connect directly via SSH (port 22) everthing is ok. But using custom port 2222 and proftpd (with mod_sftp) on server side makes that problem.

Also I have to check "Use SCP for data transfers (faser!)" because I can not download files from server owned by another user (e.g. access/error logs of root user with correct permissions for FTP user to download it). When I try it download TCMD tries to set some buggy permissions 0000 which server refuses. Some next bug?

WinSCP have not that problems/bugs on the same connections. So I think it is TCMD sftp plugin issue.
TomHale
Junior Member
Junior Member
Posts: 4
Joined: 2014-09-18, 14:21 UTC
Location: Australia

Post by *TomHale »

When transferring files, the timestamps are set to 1 January 1970.

I'm using the sftp 1.4.63 plugin and the binaries from curl 7.34.0

I've got copyalltimes=1 in wincmd.ini and I would expect all three times to be copied across, but none are. Setting this =0 makes no difference.

How do I preserve timestamps on the files transmitted/received?
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

When transferring files, the timestamps are set to 1 January 1970.
Setting the timestamp of a remote file by sftp plugin depends on the capabilities of the sftp server.
Mainly the support of MDTM command is required (while connected, just doubleclick on the small window at the top region of TC to see the log)
#5767 Personal license
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Just to let you know: Günter Knauf has finally released recent libcurl SSL 7.38 version. (32-Bit and 64-bit)
#5767 Personal license
UltraMax
Junior Member
Junior Member
Posts: 2
Joined: 2014-11-05, 15:05 UTC

Post by *UltraMax »

I've got problems with downloading big files (more than 3 megabytes) from sftp server. It always fails with this message: Error downloading file

I use the latest files: libeay32.dll & libssh2.dll from MinGW64 7.38.0 archive and SFTP 1.4.1 version for 64 bit environment
I also have zlib1.dll file (1.2.5.0 version, but I do not know if it's the latest file as I cannot find it in sftp archive or OpenSSH DLLs

What can be wrong here? Everytime it fails connection is broken and I need to reconnect again
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Can you try the "Use SCP" option? This should work better for larger files.
Author of Total Commander
https://www.ghisler.com
UltraMax
Junior Member
Junior Member
Posts: 2
Joined: 2014-11-05, 15:05 UTC

Post by *UltraMax »

ghisler(Author) wrote:Can you try the "Use SCP" option? This should work better for larger files.
THANKS A LOT! That solves my problem :!:

Can be put into some FAQ in case someone has the same issues :)
TCExplorer
Junior Member
Junior Member
Posts: 9
Joined: 2010-09-26, 18:59 UTC

Post by *TCExplorer »

I can't connect. It keeps asking for the password.

Under Secure FTP Connections, it shows the sftp connection I defined.

All the parameters are identical to the Winscp version.


The screen that appears, when clicking edit connections, says SFTP4TC, based on PuTTY Configuration; is that correct?

The only connection type possible (the only radio button) is SSH.


In the C:\TOTALCMD\plugins\wfx\sftpplug folder, are

libcurl.dll
libeay32.dll
libssh2.dll
readme.txt
sftpplug.wfx
sftpplug.wfx64
ssleay32.dll
zlib1.dll


I've also copied the above DLLs, to c:\totalcmd, c:\totalcmd\plugins\wfx, c:\totalcmd\plugins\wfx\sftp4tc, and c:\totalcmd\plugins\wfx\sftpplug, just to make sure all the basis are covered.

But it keeps returning, asking me for a password, that is copied and pasted from the same source as the Winscp login.
Post Reply