Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



File management with CFileMan

Class CFileMan provides several file management functions. Unlike the corresponding functions provided by class RFs, those provided by CFileMan can operate on files and directories located throughout a directory hierarchy. These functions accept the use of wildcards and can take some time to complete.

All of the file management functions provided by class CFileMan accept the use of wildcards, and may operate either synchronously or asynchronously. When CFileMan is operating asynchronously, the operation takes place in a separate thread from the calling code.

All of the file manipulation functions except Rename() may operate recursively, and all can operate non-recursively. When operating recursively, these functions will act on all matching files located throughout the source directory’s hierarchy. When operating non-recursively, these functions act upon files contained in the single top level source directory only. Recursion is set or unset using the switch parameter to these functions.