Pkg.NTFS — API for parsing NTFS file systems

Overview

The Pkg.NTFS module contains the API for parsing NTFS file systems.

Enumerating Files

The following code example demonstrates how to enumerate files in an NTFS file system:

from Pro.Core import *
from Pkg.NTFS import *

def enumerateFiles(fname):
    c = createContainerFromFile(fname)
    if c.isNull():
        return
    obj = NTFSObject()
    if not obj.Load(c) or not obj.Initialize():
        return
    it = obj.FSIterator()
    while it.HasNext():
        e = it.Next()
        print(e.Name())

Module API

Pkg.NTFS module API.

Classes:

NTFSObject()

This class represents an NTFS file system.

class NTFSObject

Bases: Pro.Core.CFFObject

This class represents an NTFS file system.