I tested the following with Total Commander 6.51 (on Win XP).
When the archive opened for the first time TC calls ReadHeader() in a loop and my plugin sets the HeaderData->FileTime for each file and directory.
After collect this info TC show content of archive with correct Date and Time for files and directories.
Then I try to copy some of directories (by marking whole directory) from archive to any place on HD opened in another panel. When TC request for a file it call ProcessFile() for each file to be copied and I set Date and Time for this file.
BUT for the directory to copy, TC creates it on one's own without calling of ProcessFile() and it's no chance to set the Date and Time for directory. That's the issue.
Bug in WCX plugin interface concerning 'Dirs timestamp'?
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48093
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed this isn't currently supported, sorry. Changing this behaviour now could break other plugins which don't support the handling of directories...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
[quote="ghisler(Author)"]Indeed this isn't currently supported, sorry. Changing this behaviour now could break other plugins which don't support the handling of directories...[/quote]
Thank you for your answer.
It shouldn't be a reason to arrest a development !
This functionality must be present in the interface "TC - Plugin", because it's not a suggested feature, it's an essential condition.
Regards, beketata
Thank you for your answer.
It shouldn't be a reason to arrest a development !
This functionality must be present in the interface "TC - Plugin", because it's not a suggested feature, it's an essential condition.
Regards, beketata