[8.0b23 x86] Copy directory date/time no longer works

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
atomix
Junior Member
Junior Member
Posts: 33
Joined: 2003-02-05, 13:35 UTC
Location: TotalCmd Planet

[8.0b23 x86] Copy directory date/time no longer works

Post by *atomix »

The option "Copy date/time of directories" must be enabled for this test.

Copy any folder with various sub-folders and files to another location. The 'cloned' folder has different dates for all the sub-folders - and actually all of them have the same date (which is not the current one, but also not any of the files/folders dates). :?

BTW, for the same scenario, and using the same .ini file v7.57a works just fine. :)
User avatar
KC_
Junior Member
Junior Member
Posts: 94
Joined: 2012-03-07, 01:39 UTC

Post by *KC_ »

Happened to me as well, Beta 23. Was scratching my head all day wondering where the date of my copied folders were coming from. Definitely not from the source folders and/or files.

I use the same exact ini for Beta 22 and the mentioned issue above does not exist. I'm on Windows 7, 32 bit. So I'm back on Beta 22 for now.

Thanks
# 251045
Total Commander 10.5 64bit
User avatar
petermad
Power Member
Power Member
Posts: 14787
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can confirm this For TC 8.0b23 both 32bit and 64bit, but only under Win 7 x64, not Win XP 32bit.

It also works as expected with TC 7.57a.

This thread should be moved to TC8.0 bug reports (English)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
karlchen
Power Member
Power Member
Posts: 4601
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, folks.

Problem confirmed.

And I have got a hypothesis what T.C. 8.0ß23 64-bit does in order to generate the false timestamps for the copied subfolders. :)

The timestamps are not random. The incorrect timestamps seem to correspond to oldest file of the parent folder.

Example:

This is the source folder tree which will be copied to the target folder E:\Temp.

Code: Select all

C:\USERS\KARL\TC80BTA0
├───IconLibs
├───LANGUAGE
└───Plugins
    ├───7ZIP
    │   └───lang
    ├───HTMLView
    ├───Imagine
    │   ├───Language
    │   │   └───Template
    │   └───Plugin
    ├───Imagine64
    │   ├───Language
    │   └───Plugin
    ├───SFTP
    │   └───X64
    └───x64
        ├───htmlview
        ├───lzma
        ├───unrar
        └───zip
In order to verify subfolders will receive the filestamp of the oldest file in the parent folder, the following timestamp files named zeitstempel were created and added to some folders:

Code: Select all

C:\Users\Karl>dir /S zeitstempel
 Volume in drive C is System
 Volume Serial Number is 60D6-430B

 Directory of C:\Users\Karl\TC80bta0
03/24/1994  07:56 PM                11 zeitstempel

 Directory of C:\Users\Karl\TC80bta0\IconLibs
03/24/2000  07:56 PM                11 zeitstempel

 Directory of C:\Users\Karl\TC80bta0\LANGUAGE
03/24/1998  07:56 PM                11 zeitstempel

 Directory of C:\Users\Karl\TC80bta0\Plugins
03/24/1996  07:56 PM                11 zeitstempel
After copying the source folder to the target folder e:\temp the subfolders of E:\TC80bta0 had the following timestamps:

Code: Select all

E:\testing\TC80bta0\IconLibs\	<DIR>	03/24/1994 19:56	----
E:\testing\TC80bta0\LANGUAGE\	<DIR>	03/24/1994 19:56	----
E:\testing\TC80bta0\Plugins\	<DIR>	03/24/1994 19:56	----

E:\testing\TC80bta0\Plugins\7ZIP\	<DIR>	03/24/1996 19:56	----
E:\testing\TC80bta0\Plugins\HTMLView\	<DIR>	03/24/1996 19:56	----
E:\testing\TC80bta0\Plugins\Imagine\	<DIR>	03/24/1996 19:56	----
E:\testing\TC80bta0\Plugins\Imagine64\	<DIR>	03/24/1996 19:56	----
E:\testing\TC80bta0\Plugins\SFTP\	<DIR>	03/24/1996 19:56	----
E:\testing\TC80bta0\Plugins\x64\	<DIR>	03/24/1996 19:56	----
Conclusion:
The target folders
E:\testing\TC80bta0\IconLibs\
E:\testing\TC80bta0\LANGUAGE\
E:\testing\TC80bta0\Plugins\
have inherited the timestamp of the file C:\Users\Karl\TC80bta0\zeitstempel, the oldest file in the parent folder.

The target folders
E:\testing\TC80bta0\Plugins\7ZIP\
E:\testing\TC80bta0\Plugins\HTMLView\
E:\testing\TC80bta0\Plugins\Imagine\
E:\testing\TC80bta0\Plugins\Imagine64\
E:\testing\TC80bta0\Plugins\SFTP\
E:\testing\TC80bta0\Plugins\x64\
have inherited the timestamp of the file C:\Users\Karl\TC80bta0\Plugins\zeitstempel, the oldest file in the parent folder.

The other two zeitstempel files proved to be irrelevant because their folders had got no sub-folders. They are just there to confuse you a bit. :wink:

Testing Environment:

Server 2008 R2 (64-bit, it is)
Total Commander 8.0ß23 64-bit and 32-bit (both exhibit the weird behaviour)

Total Commander 8.0ß22 64-bit and 32-bit both do it right in contrast.

Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
Hacker
Moderator
Moderator
Posts: 13061
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Moved to TC 8.0 bug reports.

Hacker (Moderator)[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
karlchen
Power Member
Power Member
Posts: 4601
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hm, on Lucid Lynx I could not confirm my own hypothesis about the rule which T.C. 8.0ß23 32-bit seems to follow when setting the sub-folders dates in the target folder incorrectly. :oops:

The timestamps of the sub-folders were not set to my zeitstempel timestamps as on Server 2008 R2. Have not been able to find out the rule behind the timestamps in this case. They seemed chosen randomly. But I dare doubt they really are.

Yet, after all, Total Commander under Wine 1.2.3 on Lucid Lynx may not be the best environment to find out what is going on in this case. - Oh, bye the way, Wine v1.2.3 has been configured to pretend to be Windows XP.

Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48070
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I can confirm the problem, thanks!
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14787
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed fixed in TC 8.0b24 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
karlchen
Power Member
Power Member
Posts: 4601
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, Christian.

I agree with petermad. Problem solved in Total Commander 8.0ß24 32-bit and 64-bit.

Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
KC_
Junior Member
Junior Member
Posts: 94
Joined: 2012-03-07, 01:39 UTC

Post by *KC_ »

B23 became unusuable for me because of this. Thank you for the fix!
# 251045
Total Commander 10.5 64bit
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48070
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply