AddFile Method
Adds a file to the archive.
Syntax
public func addFile(path: String, localPath: String) throws -> Int32
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.