Menu

#53 Quazip doesn't get c/m/a times

v1.0_(example)
open
None
5
2014-08-10
2014-08-10
crystalidea
No

You can try this file for example:
Sample: http://www.nirsoft.net/utils/tcplogview-x64.zip

QDateTime accessTime = info.getNTFSaTime();
QDateTime modTime = info.getNTFSmTime();
QDateTime creationTime = info.getNTFScTime();

all are invalid for each file from this archive during extraction. Compare with 7zip for example

Discussion

  • Sergey A. Tachenov

    Tried opening it with 7zip - it only shows modified time, and apparently it's not the NTFS time, judging by the precision. Looking at a local file header, I don't see NTFS times there. Looks like this archive simply doesn't have them, only regular ZIP timestamp with 2-second precision.

     
  • crystalidea

    crystalidea - 2014-08-10

    Ok, then is there a way to get this modification time? (2014-01-31 00:47)?

     
  • Sergey A. Tachenov

    What do you mean? It's the regular timestamp, which is stored in the dateTime field of the structure.

     
  • crystalidea

    crystalidea - 2014-08-10

    thank you.

     

    Last edit: crystalidea 2014-08-10