Is there a reason why we don't have an https file plugin?

Here you can propose new features, make suggestions etc.

Moderators: Stefan2, white, sheep, Hacker

Post Reply
MauriceSnell
Junior Member
Junior Member
Posts: 13
Joined: 2008-11-29, 08:50 UTC
Location: UK

Is there a reason why we don't have an https file plugin?

Post by *MauriceSnell » 2019-05-07, 14:46 UTC

Is there a reason why we don't have an https file plugin? Or is there one but I'm missing it?

I mean are we just waiting for someone to get around to writing it, or is there a technical reason why it hasn't been done?

As far as I know, we have easy-to-use general purpose http file plug-ins, which allow downloading bulk content from most http web-sites, and we have WebDAV which can be used in some specific cases - but isn't a general way to copy content from most https web-sites.

User avatar
DrShark
Power Member
Power Member
Posts: 1264
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: Is there a reason why we don't have an https file plugin?

Post by *DrShark » 2019-05-07, 16:34 UTC

There is a WFX HTTPS Browser plugin.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

MauriceSnell
Junior Member
Junior Member
Posts: 13
Joined: 2008-11-29, 08:50 UTC
Location: UK

Re: Is there a reason why we don't have an https file plugin?

Post by *MauriceSnell » 2019-05-07, 19:26 UTC

Thanks for that - as it wasn't on the main ghisler.com site I didn't know.

Unfortunately it crashes TC during installation - at the point where it tries to open the list of plugins. I've tried a few times, with V9.20 and the latest V9.22a 64-bit TC. I am using the install method of opening the zip file from within TC. I also tried manually adding it - and TC still crashes as soon as the wfx64 file is selected.

Any suggestions please?

User avatar
DrShark
Power Member
Power Member
Posts: 1264
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: Is there a reason why we don't have an https file plugin?

Post by *DrShark » 2019-05-07, 21:05 UTC

MauriceSnell wrote:
2019-05-07, 19:26 UTC
Unfortunately it crashes TC during installation ... Any suggestions please?
I don't have access to 64-bit Windows right now to check it (the plugin is 64-bit only).
You can try to contact plugin authors about your error:
  • original HTTPS Browser plugin developer, WouterVanNifterick, by creating a new issue on original plugin github project
  • rg-software, who forked and compiled this plugin, using his contacts on github or website
You can also provide (both here and to plugin authors in case you'll contact them) additional information about an error like your Windows version and, if present, the text of specific error messages.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
Hacker
Moderator
Moderator
Posts: 11246
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Is there a reason why we don't have an https file plugin?

Post by *Hacker » 2019-05-07, 21:25 UTC

Works fine for me. Windows 10 x64, TC 9.22a x64.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

User avatar
Usher
Senior Member
Senior Member
Posts: 408
Joined: 2011-03-11, 10:11 UTC

Re: Is there a reason why we don't have an https file plugin?

Post by *Usher » 2019-05-07, 21:35 UTC

DrShark wrote:
2019-05-07, 21:05 UTC
I don't have access to 64-bit Windows right now to check it (the plugin is 64-bit only).
(...)
rg-software, who forked and compiled this plugin, using his contacts on github or website
This fork contains both 32- and 64-bit version, but i haven't tried it yet.
Regards from Poland
Andrzej P. Wozniak

User avatar
DrShark
Power Member
Power Member
Posts: 1264
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: Is there a reason why we don't have an https file plugin?

Post by *DrShark » 2019-05-07, 22:12 UTC

Usher wrote:
2019-05-07, 21:35 UTC
This fork contains both 32- and 64-bit version, but i haven't tried it yet.
You are right, version on totalcmd.net from 03.12.2018 is x64-only, and github release version is from 13.12.2018 which includes both 32- and 64-bit plugins.
2MauriceSnell
Try to install plugin version from github in 32-bit Total Commander.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

MauriceSnell
Junior Member
Junior Member
Posts: 13
Joined: 2008-11-29, 08:50 UTC
Location: UK

Re: Is there a reason why we don't have an https file plugin?

Post by *MauriceSnell » 2019-05-08, 09:05 UTC

It also works for me on Win 10 64-bit, but crashes on 64-bit Server 2008 R2 Standard - where I first tried it.

MauriceSnell
Junior Member
Junior Member
Posts: 13
Joined: 2008-11-29, 08:50 UTC
Location: UK

Re: Is there a reason why we don't have an https file plugin?

Post by *MauriceSnell » 2019-05-08, 09:10 UTC

It works, (on WIn10) to access https sites that don't need a user login. I can't see any way to enter username and password and access password-protected sites.

User avatar
Usher
Senior Member
Senior Member
Posts: 408
Joined: 2011-03-11, 10:11 UTC

Re: Is there a reason why we don't have an https file plugin?

Post by *Usher » 2019-05-08, 10:57 UTC

Have you tried to use the canonical way, that is to provide username and password in URL? Something like that:

Code: Select all

https://username:password@example.domain.invalid/
Regards from Poland
Andrzej P. Wozniak

User avatar
Usher
Senior Member
Senior Member
Posts: 408
Joined: 2011-03-11, 10:11 UTC

Re: Is there a reason why we don't have an https file plugin?

Post by *Usher » 2019-05-08, 12:27 UTC

The HTTPS plugin in general is the same as the original HTTP plugin by Fabio Chelly, which is available there: http://totalcmd.net/plugring/http.html
You can find there full readme with plugin description.
Note that the old canonical way is deprecated now. Many sites force interactive logging in, ignoring data in fields autofilled by the browser or using CATPCHA to confirm provided credentials.
Regards from Poland
Andrzej P. Wozniak

User avatar
petermad
Power Member
Power Member
Posts: 8425
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Is there a reason why we don't have an https file plugin?

Post by *petermad » 2019-05-08, 16:47 UTC

Hmm, neither the version from http://totalcmd.net/plugring/https_browser.html or the version from https://github.com/rg-software/wfx-https-browser/releases can be installed in my TC 32bit and 64bit under Windows 7 :!:

It works OK under Windows XP, 8.1 and 10 though :)
Last edited by petermad on 2019-05-08, 20:15 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 9.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b5 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
Dalai
Power Member
Power Member
Posts: 6635
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Is there a reason why we don't have an https file plugin?

Post by *Dalai » 2019-05-08, 18:22 UTC

After taking a look at the source code, my guess is that the plugin messes up the DLL entry/exit pointers because it doesn't save them but just overwrites them. This is how it looks currently:

Code: Select all

procedure DLLEntryPoint(dwReason: DWORD);
begin
  case dwReason of
    DLL_PROCESS_ATTACH : ...
    DLL_PROCESS_DETACH : ...
  end;
end;

begin
  DllProc := @DLLEntryPoint;
  DLLEntryPoint(DLL_PROCESS_ATTACH);
end.
And this is how it should look like (IMO):

Code: Select all

var SaveDllProc    : TDllProc;

procedure DllEntryPoint(dwReason: DWORD);
begin
    case dwReason of
        DLL_PROCESS_ATTACH : ...
        DLL_PROCESS_DETACH : ...
    end;
    if Assigned(SaveDllProc) then
        SaveDllProc(dwReason);
end;

begin
    // save exit procedure chain
    SaveDllProc:= DllProc;

    // install DllEntryPoint procedure
    DllProc:= @DllEntryPoint;
    DllEntryPoint(DLL_PROCESS_ATTACH);
end.
As I said, just a guess.

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

User avatar
DrShark
Power Member
Power Member
Posts: 1264
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: Is there a reason why we don't have an https file plugin?

Post by *DrShark » 2019-05-09, 08:51 UTC

On my Vista 32-bit plugin installs and works fine.

On Windows 7 32-bit I can confirm plugin install fails with Total Commander crash and error:

Code: Select all

---------------------------
Application Error
---------------------------
Exception ENetHTTPClientException in module httpsbrowser.wfx at 002743AE.Error obtaining session handle.
---------------------------
ОК   
---------------------------
If to install it manually by writing its entry in [FileSystemPlugins] section of wincmd.ini, on try to access it in Network Neighborhood via Enter or Alt+Enter, it also crashes Total Commander with following errors:

Code: Select all

---------------------------
Application Error
---------------------------
Exception ENetHTTPClientException in module httpsbrowser.wfx at 002743AE.

Error obtaining session handle.


---------------------------
ОК   
---------------------------

Code: Select all

---------------------------
Total Commander
---------------------------
Error, could not load plugin!

c:\totalcmd\plugins\wfx\HTTPSBrowser\httpsbrowser.wfx
---------------------------
ОК   
---------------------------
On Windows 7, setting a compatibility mode for Total Commander to Windows Vista, or any other compatibility changes like running as administrator don't help to avoid the crash.

I'll try to contact plugin authors about this error.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

Post Reply