Your Ad Here

Thursday, April 2, 2009

Problem with encrypted and compressed files on NTFS.

Hi All,

I am using raw data-structures of NTFS to copy contents of a file in to other file.
I am traversing the data runs and copy the contents of the clusters in to other file.

It works for normal files, but if a file is encrypted or compressed it fails as new file does not have setting (Attributes) that tell File System that this file is encrypted or compressed. So file system treats this file as normal file and it does not decrypt or decompress it while reading the new file.

I want that this new file behave same as of original file.
Can any one tell me how I can achieve it?

Thanks.

Read More...
Your Ad Here

No comments: