FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kTar_Archive ( const kChar sourcePath,
const kChar destFilePath 
)

Archives a file or directory to a file.

This method archives a file or directory. If sourcePath is a directory, the directory itself is archived with path names relative to (and including) the top level directory name.

Parameters
sourcePathSource file or directory.
destFilePathDestination file path.
Returns
Operation status.