WiFi plugin and WebDAV: Can it copy the modification timestamp?
Moderators: Hacker, petermad, Stefan2, white
WiFi plugin and WebDAV: Can it copy the modification timestamp?
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.
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.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?
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
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
https://www.ghisler.com
Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?
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.
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.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?
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
https://www.ghisler.com
Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?
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.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?
That should work - I will test it in the emulator.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?
Thanks! I hope I am not doing something stupid.... Please, just let me know if I can do anything to help!
Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?
Any news? Can I do anything to help?
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?
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
https://www.ghisler.com
Re: WiFi plugin and WebDAV: Can it copy the modification timestamp?
I see, too bad, thanks! I hope you will manage, eventually! (And if I can do anything to help, just let me know!)