AddFile Method
Adds a file to the archive.
Object Oriented Interface
public function doAddFile($path, $localpath);
Procedural Interface
secureblackbox_archivewriter_do_addfile($res, $path, $localpath);
Remarks
Use this method to add a disk file to the archive. Provide the local path to the file (e.g. C:\Photos\photo.jpg) via the LocalPath parameter, and the desired path within the archive (e.g. PhotosBackup2020/photo.jpg) via the Path parameter.