[frameworks-kio] [Bug 484671] WebDAV shared files all show "Jan 1 1970" as modification time since 6.0 upgrade
Ben
bugzilla_noreply at kde.org
Fri Mar 29 15:39:21 GMT 2024
https://bugs.kde.org/show_bug.cgi?id=484671
Ben <code-bugs at bnavigator.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |code-bugs at bnavigator.de,
| |kdelibs-bugs at kde.org
Version|24.02.1 |5.115.0
Product|dolphin |frameworks-kio
Component|general |WebDAV
Assignee|dolphin-bugs-null at kde.org |kio-bugs-null at kde.org
--- Comment #1 from Ben <code-bugs at bnavigator.de> ---
Same on openSUSE Tumbleweed
A curl PROPFIND confirms that the WebDAV server correctly reports
<d:getlastmodified> tags.
> [ben at skylab:~]% kioclient stat webdavs://myserver.domain/remote.php/dav/files/myuser/Docs
> NAME Docs
> FILE_TYPE 0040000
> ACCESS 0700
> MODIFICATION_TIME Thu Jan 1 00:00:00 1970
> CREATION_TIME Thu Jan 1 01:00:00 1970
> [ben at skylab:~]% kioclient stat webdavs://myserver.domain/remote.php/dav/files/myuser/Docs/myfile.pdf
> NAME myfile.pdf
> SIZE 23199
> FILE_TYPE 0100000
> MIME_TYPE application/pdf
> ACCESS 0600
> MODIFICATION_TIME Thu Jan 1 00:00:00 1970
> CREATION_TIME Thu Jan 1 01:00:00 1970
> [ben at skylab:~]% curl -s -u myuser:myapppass -X PROPFIND https://myserver.domain/remote.php/dav/files/myuser/Docs/myfile.pdf | xmlformat
> <?xml version="1.0"?>
> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns">
> <d:response>
> <d:href>/remote.php/dav/files/myuser/Docs/myfile.pdf</d:href>
> <d:propstat>
> <d:prop>
> <d:getlastmodified>Mon, 04 Dec 2023 20:55:42 GMT</d:getlastmodified>
> <d:getcontentlength>23199</d:getcontentlength>
> <d:resourcetype/>
> <d:getetag>"c9bfb90c5430b5bc2883b21527045dac"</d:getetag>
> <d:getcontenttype>application/pdf</d:getcontenttype>
> </d:prop>
> <d:status>HTTP/1.1 200 OK</d:status>
> </d:propstat>
> </d:response>
> </d:multistatus>
>
A cross check with a smb:// url show fine:
[ben at skylab:~]% kioclient stat smb://mysambaserv/ben
> NAME ben
> SIZE 0
> FILE_TYPE 0040000
> MODIFICATION_TIME Fri Mar 22 20:17:44 2024
> ACCESS_TIME Sat Mar 23 16:43:54 2024
> Information for package kio-core:
> ---------------------------------
> Repository : Haupt-Repository (OSS)
> Name : kio-core
> Version : 5.115.0-1.1
> Arch : x86_64
> Vendor : openSUSE
> Installed Size : 2.7 MiB
> Installed : Yes
> Status : up-to-date
> Source package : kio-5.115.0-1.1.src
> Upstream URL : https://www.kde.org
> Summary : Network transparent access to files and data
> Description :
> This framework implements almost all the file management functions you
> will ever need. In fact, the KDE file manager (Dolphin) and the KDE
> file dialog also uses this to provide its network-enabled file management.
> KIO core libraries, ioslave and daemons.
>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list