Summary: | Copying a file, between sftp sessions, in "synchronize Directories" does not preserve time/date. | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | peter.hine |
Component: | sftp | Assignee: | Andreas Schneider <asn> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aacid, j, mb |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=300211 | ||
Latest Commit: | http://commits.kde.org/kde-runtime/6979833189642b8450d73d5aeb82fcf4cb600832 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | screenshot showing effect of the bug |
Description
peter.hine
2009-09-10 01:50:58 UTC
Further: Copying from FTP -> Local hdd does not preserve date. (Dolphin/Krusader) Syncronizing FTP <> Local hdd does preserve date. (Krusader) KDE 4.7.4, Arch Linux Created attachment 78083 [details]
screenshot showing effect of the bug
I confirm for Dolphin 4.10.1. See the screenshot I added. Please add a log file for kio_sftp http://techbase.kde.org/Development/Tutorials/Debugging/Debugging_IOSlaves/Debugging_kio_sftp Andreas: You should be able to produce that log yourself. Or are you saying that preserving timestamps over sftp works for you? Preserving timestamps means that you call sftp_utimes() after it has been transferred. Which works just fine if you SFTP server supports it. The put() command of the sftp kio slave supports setting modifications times but doesn't give an error if it doesn't work. We probably need a libssh log to see what's going on. Maybe also log an error if we can't set it. Git commit 6979833189642b8450d73d5aeb82fcf4cb600832 by Andreas Schneider. Committed on 29/05/2013 at 08:08. Pushed by anschneider into branch 'master'. kio_sftp: Add debug and warning if for setting the mtime. M +5 -1 kioslave/sftp/kio_sftp.cpp http://commits.kde.org/kde-runtime/6979833189642b8450d73d5aeb82fcf4cb600832 |