When uploading files over an SFTP connection using the "Synchronize Directories" tool of Krusader 2.0.0, the timestamps are not preserved. One would expect them to be preserved, because they are when copying files directly from one of the panels (local to SFTP). Reproducible: Always Steps to Reproduce: 1. Open a SFTP connection in one of the panels 2. Start Tools/Syncronize Directories 3. Choose some file to be copied from the local directory to the remote directory Actual Results: Copied files have timestamps of the current time. Expected Results: A copied file should have the timestamp of the local file.
Same thing with normal FTP connections. Krusader won't preserve timestamps copying to and from FTP.
reproduciable using 2.4.0-beta3
Things have taken a turn for the worse. After an update from KDE 4.6 to 4.8 time stamps are no longer preserved even when copying files over SFTP from a panel. Downgrading only Krusader to the KDE 4.6 version (from the openSUSE 11.4 repository) doesn't fix it, so I guess the problem is the KIO slave (to be found in the openSUSE package kdebase4-runtime 4.8.5). See also: https://bugs.kde.org/show_bug.cgi?id=55804 https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/191472
Confirmed. After a quick look I could not figure out why files are considered equal although the have different timestamps (which is actually good, otherwise files folders would not be equal after a sync). Note for myself: with KIO::FileCopyJob::setModificationTime() this can probably be easily fixed. https://api.kde.org/frameworks/kio/html/classKIO_1_1FileCopyJob.html#a28f12603e4db5e7adc1aff5b2acc0f9f
*** Bug 245683 has been marked as a duplicate of this bug. ***
*** Bug 437343 has been marked as a duplicate of this bug. ***