Skip to content

ImportFile()

ts
function ImportFile(localFile, vfsPath: string);

This method of a VFS object imports a file from the local file-system (from your operating system) into the VFS.

IMPORTANT

If the VFS is encrypted at-rest, this function also automatically takes care of encrypting the file during the import phase.