WiFi plugin and WebDAV: Can it copy the modification timestamp?

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
ienne
Junior Member
Junior Member
Posts: 17
Joined: 2017-06-26, 15:49 UTC

WiFi plugin and WebDAV: Can it copy the modification timestamp?

Post by *ienne »

Hello.

I have been using for some time the WiFi plugin and connected to my PC with the QR Code. I find it extremely handy.

I just noticed something, though: the timestamp of a file copied *to* Android is the time when the copy was made and not the timestamp of the file being copied. The opposite is not true and is what perhaps most people would expect: the timestamp of the copy to the PC is the same as the timestamp of the source file on Android. I would like all copies to carry their timestamp.

I understand this is a WebDAV limitation. Is this true? If it is, is there a workaround? Or is there a similar plugin (maybe with a similarly cool connection QR code) for something like an SFTP server?

Thanks!

p.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?

Post by *ghisler(Author) »

It is indeed a WebDAV limitation. However, my WiFi plugin does support copying of the timestamp with the file on upload (via non-standard method), but it depends on the WebDAV client whether it works or not. Most 3rd party WebDAV clients simply do not send the file timestamp with the file.

The following clients work:
1. The WiFi plugin connection to another WiFi plugin on another Android device
2. The WebDAV plugin for Windows (Total Commander for Windows)
3. Microsoft's function "Map network drive". Just enter the http URL instead of \\server\share. I recommend that you define a user name and password on the WiFi plugin for better security
Author of Total Commander
https://www.ghisler.com
ienne
Junior Member
Junior Member
Posts: 17
Joined: 2017-06-26, 15:49 UTC

Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?

Post by *ienne »

Christian, thanks.

But what am I doing wrong then? I am using "2", that is TC (x64) 10.52 on Windows. To be clear, on Android I select the directory, then "send to", and "send via WiFi". I get the QR code. On the PC I click on Network Neighbourhood, then WebDAV, then _QR-Code, and scan the QR code. It connects perfectly fine but if I upload a file to Android, it appears with the creation date and not the original one. The opposite is fine.

I just checked and the WebDAV plugin is the latest one (in fact, I updated it, for I still had 3.0) and I suppose the version on Android is also the latest (autoupdate).

Is there some config? I did look for that but could not find anything.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?

Post by *ghisler(Author) »

Which Android version do you use? It works in some but not in all. Also some locations which can only be reached via virtual folders don't allow to change the timestamp (path starts with \\\_ instead of something like \storage).
Author of Total Commander
https://www.ghisler.com
ienne
Junior Member
Junior Member
Posts: 17
Joined: 2017-06-26, 15:49 UTC

Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?

Post by *ienne »

It is Android 13 on a Samsung Galaxy S20 Ultra 5G. The path is a folder somewhere inside /storage/3431-3834/... It is an SD card.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?

Post by *ghisler(Author) »

That should work - I will test it in the emulator.
Author of Total Commander
https://www.ghisler.com
ienne
Junior Member
Junior Member
Posts: 17
Joined: 2017-06-26, 15:49 UTC

Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?

Post by *ienne »

Thanks! I hope I am not doing something stupid.... Please, just let me know if I can do anything to help!
ienne
Junior Member
Junior Member
Posts: 17
Joined: 2017-06-26, 15:49 UTC

Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?

Post by *ienne »

Any news? Can I do anything to help?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?

Post by *ghisler(Author) »

The plugin needs some major overhaul for Android 13. Unfortunately that also means that it will no longer work without help from Total Commander, because Google doesn't want to grant file system access to mere web servers, only to file managers and backup tools (and a few others).
Author of Total Commander
https://www.ghisler.com
ienne
Junior Member
Junior Member
Posts: 17
Joined: 2017-06-26, 15:49 UTC

Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?

Post by *ienne »

I see, too bad, thanks! I hope you will manage, eventually! (And if I can do anything to help, just let me know!)
Post Reply