2spirit21
Please double check that you really have the new version 3.01. The file should report version number 3.01 when you double click on it. It's unusual to get the same error address with both versions. It's also possible that the libssh2.dll wasn't updated.
2white
This is a known problem, unfortunately I don't have a solution.
ghisler(Author) wrote: 2022-08-24, 16:17 UTC
2spirit21
Please double check that you really have the new version 3.01. The file should report version number 3.01 when you double click on it. It's unusual to get the same error address with both versions. It's also possible that the libssh2.dll wasn't updated.
The first string from readme.txt of plugin I have installed is "New secure ftp plugin version 3.01 final (32 bit+64 bit)"
MD5 sums for plugin files are:
369f016a263c16779f65964a97f909eb *sftpplug.wfx
1df0e3035b503630ef9823c9e539afe8 *sftpplug.wfx64
I didn't say that exception message was the same for both versions (3.0 and 3.01). The code from my previous post was from v3.01 plugin crash. After new attempt of plugin usage I have received new exception message:
---------------------------
Total Commander 10.51RC3
---------------------------
Exception in sftpplug.wfx:FsFindFirstW!
Access violation at address 68A14D0E. Read of address 00000100
Windows 7 SP1 Ultimate 6.1 (Build 7601), base: 00400000
Please report this error to the Author, with a description
of what you were doing when this error occurred!
Windows exception: C0000005
Stack trace:
68A14D0E
0044CEDD 0044EEE2 0042A826 0044E3D6 0042A826 00454EAB
0044CEDD 0044E54A 0044EEE2 0042A826 0042FFAE 004300EC
0044E3D6 0042A826 0044E3D6 0042A826 0044EEE2 0042A826
0044E480 0042A826 0044E0EB 0044DDBF 00469D66 0044DE8E
0044DEF1 0050AC1E 0044E3D6 0042A826 0044E54A 0044EEE2
0042A826 0042A826 005D4E58 0044E3D6 0042A826 0044E54A
0044EEE2 0042A826 0044E480 00402255 004026AC 0044E54A
0044EEE2 0042A826 0044E480 0044CEDD 005CA6FC >004023FB
004026C4 0044E3D6 0042A826 0044EEE2 0042A826 0044E480
0042A826 0051043E 0042083E 004023FB 00402255 004023FB
Raw:
0044E480 00402EBA 0044CEDD 0044F1B1 0044F1FF 0042C821
0044E54A 0044EEE2 0044EF05 0042A826 0044E3D6 0042A826
0044F25B 0044F618 0043DE27 00454EAB 00402EBA 0044CEDD
0044F1B1 0043DBC6 0044E4D2 0044E54A 0044EEE2 0044EF05
0042A826 0042FFAE 004300EC 004065E3 0044E3D6 0042A826
0044F25B 0044E480 0044E3D6 0042A826 0044F25B 0044CEDD
0044F1B1
Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Да Нет
---------------------------
Also, it must be noted there are no libssh2.dll files (x32 & x64) in plugin dir. Alternatively I copied libssh2.dll libraries from plugin archive to %COMMANDER_PATH%\ and %COMMANDER_PATH%\64\ folders.
Last edited by spirit21 on 2022-08-24, 18:15 UTC, edited 1 time in total.
spirit21 wrote: 2022-08-24, 18:09 UTC
...
Also, it must be noted there are no libssh2.dll files (x32 & x64) in plugin dir. Alternatively I copied libssh2.dll libraries from plugin archive to %COMMANDER_PATH%\ and %COMMANDER_PATH%\64\ folders.
Thats wrong.
The install file contains libssh2.dll for 32bit and x64
and this files are copied into the plugins dir and its x64 sub-dir.
Windows 11 Home, Version 24H2 (OS Build 26100.3915) TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
spirit21 wrote: 2022-08-24, 18:09 UTC
...
Also, it must be noted there are no libssh2.dll files (x32 & x64) in plugin dir. Alternatively I copied libssh2.dll libraries from plugin archive to %COMMANDER_PATH%\ and %COMMANDER_PATH%\64\ folders.
Thats wrong.
The install file contains libssh2.dll for 32bit and x64
and this files are copied into the plugins dir and its x64 sub-dir.
For previous version of sftpplug (before 3.0) it worked for me just fine - there were NO libssh2.dll files in plugin dir and its x64 sub-dir (for my portable installation of TC). Instead this (as I mentioned earlier) libssh2.dll libs (32bit and x64 versions) were placed in %COMMANDER_PATH%\ and %COMMANDER_PATH%\64\ dirs consequently.
P.S.
I have tested sftpplug with 32bit and x64 libssh2.dll libraries from plugin archive: these files were copied into the plugin dir and its x64 sub-dir and the exception took place again.
Last edited by spirit21 on 2022-08-24, 18:47 UTC, edited 2 times in total.
It seems that the plugin works fine but there is a problem with libssh2.dll. I have replaced libssh2.dll (x64 version) in COMMANDER_PATH%\64\ folder with the previous version of library (with size of 471 552 bytes, ProductVersion: 1.8.1_DEV) and the plugin began to work (in x64 version of TC of course).
spirit21 wrote: 2022-08-24, 18:39 UTC
It seems that the plugin works fine but there is a problem with libssh2.dll. I have replaced libssh2.dll (x64 version) in COMMANDER_PATH%\64\ folder with the previous version of library (with size of 471 552 bytes, ProductVersion: 1.8.1_DEV) and the plugin began to work (in x64 version of TC of course).
The new libssh2.dll shouldn't be in %COMMANDER_PATH%\64\. If I move the file there, SecureFTP is listed as an empty name entry in Network Neigborhood and unavailable.
I haves plugin dir (%COMMANDER_PATH%\Plugins\WFX\SFTPPlug\) with these files from version 3.01:
readme.txt
sftpplug.ini
sftpplug.wfx
sftpplug.wfx64
Also I have libssh2.dll (410 624 bytes) in %COMMANDER_PATH%\ dir (not the one from 3.01 plugin package).
Also I have libssh2.dll (471 552 bytes) in %COMMANDER_PATH%\64\ dir (not the one from 3.01 plugin package).
Now the plugin works fine in both versions (32/64) of TC:
spirit21 wrote: 2022-08-24, 18:39 UTC
It seems that the plugin works fine but there is a problem with libssh2.dll. I have replaced libssh2.dll (x64 version) in COMMANDER_PATH%\64\ folder with the previous version of library (with size of 471 552 bytes, ProductVersion: 1.8.1_DEV) and the plugin began to work (in x64 version of TC of course).
The new libssh2.dll shouldn't be in %COMMANDER_PATH%\64\. If I move the file there, SecureFTP is listed as an empty name entry in Network Neigborhood and unavailable.
As I wrote earlier "I have tested sftpplug with 32bit and x64 libssh2.dll libraries from plugin archive: these files were copied into the plugin dir and its x64 sub-dir and the exception took place again."
spirit21 wrote: 2022-08-24, 20:47 UTC
As I wrote earlier "I have tested sftpplug with 32bit and x64 libssh2.dll libraries from plugin archive: these files were copied into the plugin dir and its x64 sub-dir and the exception took place again."
Sorry, I didn't quite get that.
Can you try what happens if you do a clean install and install the plugin?
Perhaps there are conflicting dlls. Can you try moving all dlls not included in the TC installation package out of the %COMMANDER_PATH% and %COMMANDER_PATH%\64\ folder and see what happens?
spirit21 wrote: 2022-08-24, 20:47 UTC
As I wrote earlier "I have tested sftpplug with 32bit and x64 libssh2.dll libraries from plugin archive: these files were copied into the plugin dir and its x64 sub-dir and the exception took place again."
Sorry, I didn't quite get that.
Can you try what happens if you do a clean install and install the plugin?
Perhaps there are conflicting dlls. Can you try moving all dlls not included in the TC installation package out of the %COMMANDER_PATH% and %COMMANDER_PATH%\64\ folder and see what happens?
I renamed libssh2.dll from %COMMANDER_PATH% and %COMMANDER_PATH%\64\ to "libssh2.dll_", copied both versions of libssh2.dll from sftpplug package to plugin dir and 64\ subdir, restarted TC, and got exception message again after starting sftp session effort: