New beta plugin: WebDAV (WebFolders)

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
Hurdet
Power Member
Power Member
Posts: 620
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet »

Ok, ty :)
namiltd
Junior Member
Junior Member
Posts: 10
Joined: 2006-11-02, 08:47 UTC

Post by *namiltd »

The plug has the unfortunate error processing national characters to UTF-8 with the result that there are problems with uploading files such as "ąćńó.txt". File names are changed and file can not be deleted and only updated.
Last edited by namiltd on 2014-12-05, 18:49 UTC, edited 1 time in total.
Hurdet
Power Member
Power Member
Posts: 620
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet »

Do you have davplug.uwfx in plugin folder?
When i delete davplug.uwfx the file is renamed in "acnó.txt" and i can to delete it.
Not problem with davplug.uwfx.
namiltd
Junior Member
Junior Member
Posts: 10
Joined: 2006-11-02, 08:47 UTC

Post by *namiltd »

File davplug.uwfx exist
flizebogen
Junior Member
Junior Member
Posts: 50
Joined: 2003-06-25, 11:21 UTC

Post by *flizebogen »

I have a feature request. I set up TC in my company that i use wincmd.ini in Program Folder and use for certain sections a INI File, that is in users profile.

Unfortunately webdav plugin uses for storing its settings the folder which contains wincmd.ini regardless the Setting AlternateUserINI

Is it possible to take that setting into account? For now webdav plugin cannot be used for non-admins in the used environment.
User avatar
Dalai
Power Member
Power Member
Posts: 9388
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

2flizebogen
You can set permissions on tcwebdav.ini so that users can write to it but are not able to delete it ("change" permission as opposed to "write" permission).

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
flizebogen
Junior Member
Junior Member
Posts: 50
Joined: 2003-06-25, 11:21 UTC

Post by *flizebogen »

Changing Permissions is possible but not an ideal situation. For FTP Sessions i use the following reg key:

HKLM\Software\Ghisler\Total Commander
FTPININame = %APPDATA%\Totalcmd\FTP_Verbindungen.ini

As you can see for ftp sessions one can seperate settings per user.
Hurdet
Power Member
Power Member
Posts: 620
Joined: 2003-05-10, 18:02 UTC

close udp port

Post by *Hurdet »

After I close a connection webdav, remains open a port (eg 3661) upd.
Do it is possible to avoid it?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

WebDAV uses the Internet Explorer interface to access Web servers. It uses connection keep alive for faster transfers. Only closing TC will force Windows to close these connections.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

A new beta is available now:
https://plugins.ghisler.com/beta/webdav_26b6.zip
Sources:
https://plugins.ghisler.com/beta/webdav_src26b6.zip

Added: Also scan mirrored QR-Codes (some Webcams support mirrored mode)
Fixed: QR-Code was requested again by mistake after uploading a file to the server
Author of Total Commander
https://www.ghisler.com
Hurdet
Power Member
Power Member
Posts: 620
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet »

ghisler(Author) wrote:WebDAV uses the Internet Explorer interface to access Web servers. It uses connection keep alive for faster transfers. Only closing TC will force Windows to close these connections.
I see this script is able to close connection.
I guess that is possible close also in plugin when disconnect?
Again i can to close TCP connection with script or system close on timeout but it remain opened UDP port.
What is UDP connection with webdav and why it not close?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The script seems to look in some undocumented table what TCP connections are open in a process, and then force closes them. This is not a very nice behaviour, the connections could be from other plugins or explorer extensions.
Author of Total Commander
https://www.ghisler.com
BennyLi
Junior Member
Junior Member
Posts: 9
Joined: 2015-02-04, 09:54 UTC
Location: Hamburg

No files nor directories are listed after connection

Post by *BennyLi »

Hello. It's my first time I have tried the WebDAV plugin. I use it with Total Commander Version 8.51a 32 Bit. The Plugin version is 26b6.
So here is my problem:

After the plugin has connected to my private server, it does not list the files or folders.

:arrow: Note: I tried to post the log and additional informations. But this was rejected by the General Error that does not allow me (as a new user) to post any links. I guess there are no links. But anyway. Will append that information as soon as possible.

:!: Update: Log informations (original host replaced):

Code: Select all

DISCONNECT \NAS WebDAV
Disconnected
CONNECT \NAS WebDAV
=================
Get dir: /webdav
PROPFIND /webdav/ HTTP/1.1
Depth: 1
Content-Type: text/xml; charset="utf-8"
User-Agent: ezdavplugin/2.6 TotalCommander/8.5 (Windows/7; en_EN)
Host: my-private-server.xx
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache
******Received headers
HTTP/1.1 207 Multi-Status
Server: nginx/1.2.1
Date: Wed, 04 Feb 2015 10:00:31 GMT
Content-Type: application/xml; charset="utf-8"
Transfer-Encoding: chunked
Connection: keep-alive
207 Multi-Status
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Please enable detailed logging in the configuration of the connection (Alt+Enter on the connection name). Then the plugin will write a file to TEMP with the raw directory listing as sent by the server.

Then connect to the server, switch to the other Total Commander panel, and use the command line to go to the TEMP directory:
cd %TEMP%

There should be a new TMP file with the date of the connection. View it with F3, switch to "1" (plain text), and then copy+paste the text here. You can change names to protect sensitive data, but please do not delete anything.
Author of Total Commander
https://www.ghisler.com
BennyLi
Junior Member
Junior Member
Posts: 9
Joined: 2015-02-04, 09:54 UTC
Location: Hamburg

No files nor directories are listed after connection

Post by *BennyLi »

So... I tried to post the LOG content, but as I'm a very new user I got this message:
In order to try to prevent spammers, we do not allow our users to post URLs in any form until they have posted at least 1 legitimate posts and have been with us for more than 1 days. We appreciate your understanding in this matter in order to help us eliminate spam from this forum. If you have somehow gotten this message even though you meet both of the criteria, please let us know ASAP.
Guess someone has to legitimate a post of mine first...
Post Reply