Skip to content

ExportFile()

ts
function ExportFile(vfsFilePath, localDir :string);

This method of a VFS object exports a file from the VFS to a directory in the local file-system (managed by your operating system).

IMPORTANT

If the VFS is encrypted at-rest, this function also automatically takes care of decrypting the file during the export phase, so the exported file (in the OS's file-system) will be in clear and not encrypted anymore.