TotalCommander WebDAV Plugin

German support forum

Moderators: Hacker, Stefan2, white

Post Reply
Markus69
Junior Member
Junior Member
Posts: 2
Joined: 2025-03-13, 12:07 UTC

TotalCommander WebDAV Plugin

Post by *Markus69 »

Hallo Forengemeinde,
weiß jemand von euch, ob das WebDAV Plugin 3.2 für Total Commander vom November 2021 auch schon HTTP/2 bei der WebDAV Verbindung benutzen kann ?.
Im Google Play Store hat Herr Ghisler geschrieben, das dass Android WebDAV Plugin dieses HTTP/2 unterstützt, dies steht auf seiner Webseite für das Windows Plugin nicht.

Ich habe FTP Log aktiviert, und sehe das sich das Windows WebDAV Plugin nur mit HTTP/1.1 verbindet.
Ich möchte mich nun einmal mit HTTP/2 verbinden können, um zu testen, ob der Error: 413 Request Entity Too Large Fehler dann immer noch auftritt.
Die Nextcloud Instanz kann HTTP/2 Verbindungen aufbauen. Wenn ich mein Benutzerkonto der Nextcloud mit Chrome aufrufe, bin ich mit HTTP/2 verbunden, H2 nennt das Chrome. Kann man sehen wenn man "chrome://net-internals/#http2" in einem anderen Tab eingibt.

So sieht die Meldung im FTP Log aus:

Last upload step: Send actual file
PUT /remote.php/webdav/Documents/Testordner/2/1.h2w HTTP/1.1
Error: 413 Request Entity Too Large
PROPPATCH /remote.php/webdav/Documents/Testordner/2/1.h2w HTTP/1.1
207 Multi-Status

Vielen Dank für eure Hilfe
Markus69
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TotalCommander WebDAV Plugin

Post by *ghisler(Author) »

Ich benutze die Funktion InternetConnect (siehe Quellcode des Plugins). Diese soll HTTP/2 unterstützen, allerdings nur 1 Verbindung gleichzeitig pro Host. Das sollte aber kein Problem sein, sofern Sie nicht mehrere Verbindungen gleichzeitig öffnen.
Author of Total Commander
https://www.ghisler.com
Markus69
Junior Member
Junior Member
Posts: 2
Joined: 2025-03-13, 12:07 UTC

Re: TotalCommander WebDAV Plugin

Post by *Markus69 »

Hallo Herr Gishler,
vielen Dank für die Antwort.

Ich benutze auch nur den TotalCommander als einzigen Client.
Falls Sie eine Möglichkeit haben, könnten Sie es bitte einmal selbst ausprobieren ob das PlugIn sich bei Ihnen auch "nur" mit HTTP/1.1 oder mit
HTTP/2 verbindet.
Vielleicht muss ein HTTP/2 Verbindungsaufbau bei den WebDAV Servern die es beherrschen erzwungen werden.

Vielen Dank
Markus69
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TotalCommander WebDAV Plugin

Post by *ghisler(Author) »

I have followed this guide to analyze WebDAV connections with WireShark:
https://celaldogan2010.medium.com/analyzing-http-2-with-wireshark-64c15793e91

It looks like InternetConnect/HttpOpenRequest doesn't send the "application layer protocol negotiation" extension (ALPN).
Therefore it looks like HTTP/2 isn't supported by InternetConnect/HttpOpenRequest.

Do you know of any HTTP/2 only web servers, or is there a way to configure Apache to only support HTTP/2? This seems rather unusual.
Author of Total Commander
https://www.ghisler.com
CoolWater
Power Member
Power Member
Posts: 744
Joined: 2003-03-27, 16:33 UTC

Re: TotalCommander WebDAV Plugin

Post by *CoolWater »

ghisler(Author) wrote: 2025-03-17, 10:17 UTC I have followed this guide to analyze WebDAV connections with WireShark:
https://celaldogan2010.medium.com/analyzing-http-2-with-wireshark-64c15793e91

It looks like InternetConnect/HttpOpenRequest doesn't send the "application layer protocol negotiation" extension (ALPN).
Therefore it looks like HTTP/2 isn't supported by InternetConnect/HttpOpenRequest.

Do you know of any HTTP/2 only web servers, or is there a way to configure Apache to only support HTTP/2? This seems rather unusual.
Did you set the HTTP_PROTOCOL_FLAG_HTTP2 flag via InternetSetOption to use HTTP/2? You can also use the INTERNET_OPTION_HTTP_PROTOCOL_USED flag to find out which protocol version is being used.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TotalCommander WebDAV Plugin

Post by *ghisler(Author) »

No, I haven't tried that yet (you can check the sources yourself).
According to this page, implementation seems to be faulty, e.g. headers aren't decompressed by the library:
https://stackoverflow.com/questions/50894383/internet-option-enable-http-protocol-windows-10-gives-strange-results
Author of Total Commander
https://www.ghisler.com
CoolWater
Power Member
Power Member
Posts: 744
Joined: 2003-03-27, 16:33 UTC

Re: TotalCommander WebDAV Plugin

Post by *CoolWater »

Well, that post is from 2018. Maybe there were some improvements made since then...
Post Reply