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