WebDAV plugin bugs/missing functionality

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

During a longer upload I have just seen that the reported speed was completely wrong, three times higher than the real speed: Uploaded with 50 KiB/s, TC reported 150.

As the speed display refreshes regularly I wonder where the problem is.

Icfu
This account is for sale
ThomasKon
Junior Member
Junior Member
Posts: 7
Joined: 2006-11-09, 13:44 UTC

Filesize of remote file is always zero (https, Proxy)

Post by *ThomasKon »

When I connect to a WebDAV Server over a proxy with https the filesize in total commander is always displayed as zero bytes. If I download the remote files the filesize of the downloaded file is the right one (not zero). So the filesize is only wrong in the pane where the remote files on the webDAV server are shown.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Are you sure that you use TC's WebDAV and not the Web folders from Windows?

If you are sure, turn on detailed logging and then connect to a site. Then look in your TEMP folder. There should be a file named DAV*.TMP with the raw directory listing. It should contain size lines for each file similar to this:

Code: Select all

<lp0:getcontentlength>69574</lp0:getcontentlength>
Are these present or not?
Author of Total Commander
https://www.ghisler.com
ThomasKon
Junior Member
Junior Member
Posts: 7
Joined: 2006-11-09, 13:44 UTC

Post by *ThomasKon »

Thanks first for the quick answer.

I'm using TC's WebDAV. I've already turned on detailled logging so that should be enough evidence that I'm really using it.

However I cannot find the files you've written about in your message. What temp directory does TC usually use under Windows XP SP2? Should it be under "Documents and Settings\[username]\local settings\temp"? There's nothing on my machine. I couln't find the file on other locations either. I would appreciate if you could give me a hint where these files may be located.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Please choose "Run DOS" from the menu and type the command

set

and press ENTER. It should show you the location where the TEMP variable points.
Author of Total Commander
https://www.ghisler.com
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

What about my bug report above? Speed is still displayed wrong (when uploading) by factor 3, also in TC 7.

Icfu
This account is for sale
ThomasKon
Junior Member
Junior Member
Posts: 7
Joined: 2006-11-09, 13:44 UTC

Post by *ThomasKon »

Ok. I finally found the log file. I don't know for sure why it wasn't there yesterday, but ok...

In the logfile there's no size lines similar to what you posted, but there's a 404 not found error in each reponse entry. I post one of these response entries below:

Code: Select all

   
<D:response>    <D:href>/webfolders/MOVE%20IT/JRules/60_Meetings/WorkshopCoventry/Company%20Process%20Framework/CORSO%20Development%20Baseline/CORSO.CPF.DevBaselinev2.ppt</D:href>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 404 Not Found</D:status>
    </D:propstat>
</D:response>
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, that's not a directory listing, it seems that you tried to open a file (CORSO.CPF.DevBaselinev2.ppt) as a directory. Can you send me such a file for a directory too, please?
Author of Total Commander
https://www.ghisler.com
ThomasKon
Junior Member
Junior Member
Posts: 7
Joined: 2006-11-09, 13:44 UTC

Post by *ThomasKon »

So here's the logfile with a complete directory listing containing both files and directories:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:" xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/">
   <D:response>
    <D:href>/webfolders/NetDocuments%20Support/Training%20and%20User%20Guides/</D:href>
    <D:propstat>
     <D:prop>
      <D:displayname>Training and User Guides</D:displayname>
      <D:resourcetype><D:collection/></D:resourcetype>
     </D:prop>
     <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
   </D:response>
   <D:response>
    <D:href>/webfolders/NetDocuments%20Support/Training%20and%20User%20Guides/Pictures/</D:href>
    <D:propstat>
     <D:prop>
      <D:displayname>Pictures</D:displayname>
      <D:resourcetype><D:collection/></D:resourcetype>
     </D:prop>
     <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
   </D:response>
   <D:response>
    <D:href>/webfolders/NetDocuments%20Support/Training%20and%20User%20Guides/NetDocuments%20Guide%20-%20Advanced.doc</D:href>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 404 Not Found</D:status>
    </D:propstat>
   </D:response>
   <D:response>
    <D:href>/webfolders/NetDocuments%20Support/Training%20and%20User%20Guides/NetDocuments%20Guide%20-%20Basic.doc</D:href>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 404 Not Found</D:status>
    </D:propstat>
   </D:response>
   <D:response>
    <D:href>/webfolders/NetDocuments%20Support/Training%20and%20User%20Guides/Automatic%20Login.doc</D:href>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 404 Not Found</D:status>
    </D:propstat>
   </D:response>
   <D:response>
    <D:href>/webfolders/NetDocuments%20Support/Training%20and%20User%20Guides/OpenDocumentById.doc</D:href>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 404 Not Found</D:status>
    </D:propstat>
   </D:response>
   <D:response>
    <D:href>/webfolders/NetDocuments%20Support/Training%20and%20User%20Guides/DocumentNames.doc</D:href>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 404 Not Found</D:status>
    </D:propstat>
   </D:response>
   <D:response>
    <D:href>/webfolders/NetDocuments%20Support/Training%20and%20User%20Guides/compass.stds.DocumentMgmtStandards.doc</D:href>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 404 Not Found</D:status>
    </D:propstat>
   </D:response>
   <D:response>
    <D:href>/webfolders/NetDocuments%20Support/Training%20and%20User%20Guides/Netdoc.Presentation.20050819.ppt</D:href>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <D:propstat>
     <D:prop>
     </D:prop>
     <D:status>HTTP/1.1 404 Not Found</D:status>
    </D:propstat>
   </D:response>
</D:multistatus>
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

As you can see, there are no file details reported for the files. I guess that the server process doesn't have the list attributes rights for these files, that's why it's reporting all these 404 not found errors.
Author of Total Commander
https://www.ghisler.com
ThomasKon
Junior Member
Junior Member
Posts: 7
Joined: 2006-11-09, 13:44 UTC

Post by *ThomasKon »

That was my first thought, too. But the normal Windows Explorer shows all the file details like the filesize and the modification date if I use its builtin webDAV functionality. So maybe the server sends the file attributes in some uncommon but valid way?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, I have no idea what the Explorer is doing differently. Maybe you can find out with a tool like Ethereal (now Wireshark).
Author of Total Commander
https://www.ghisler.com
ThomasKon
Junior Member
Junior Member
Posts: 7
Joined: 2006-11-09, 13:44 UTC

Post by *ThomasKon »

Sorry. I couldn't do anything concerning this case in the last time because I was too busy.

Finally I've got wireshark dumps of the webdav plugin in TC and Windows Explorer. Since I couldn't watch the connection for which I opened this case because it's https I used another connection to an internal server.

So the difference between the TC plugin and windows explorer is that the windows explorer sends every request twice. The first time in a short form and the second time in a long form. I would like to post the both protocols here, but when I try to do so the forum just shows me the start page and does nothing. Seems like it doesn't like some of the captured data. Would you like me to send it to you via email?
ThomasKon
Junior Member
Junior Member
Posts: 7
Joined: 2006-11-09, 13:44 UTC

Post by *ThomasKon »

I forgot one thing in the above post:

I could see, that on my internal server (http AND https) the TC plugin worked correctly and displayed the file size. So it shouldn't be a general webDAV over https problem but a problem specific to some server settings. Or maybe the proxy is the problem. I know, that netdrive (a tool from novell to map webDAV ressources as windows drives) can't handle webDAV with https and a proxy server. But I cannot imagine why this could be a problem...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2ThomasKon
I guess that the mod_security module of the Web server is blocking out some words, which will cause the post to fail.

Could you send me the two logs by e-mail (zipped), please?
Author of Total Commander
https://www.ghisler.com
Post Reply