[Kget] [kget] [Bug 55511] KGET does not preserve timestamp of downloaded files from FTP

Lukas Appelhans l.appelhans at gmx.de
Tue Mar 19 20:19:17 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=55511

--- Comment #3 from Lukas Appelhans <l.appelhans at gmx.de> ---
Hey!

It seems fine to me, in case there is no other way to get this data from ftp,
which would use the original get job...

Also, to remove the boost dependency we could use:
        struct utimbuf time;
        time.modtime = modTime.toTime_t();
        time.actime = QDateTime::currentDateTime().toTime_t();
        utime(file.toUtf8().data(), &time);

Lukas

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kget mailing list