add_file Method
Adds a file to the archive.
Syntax
def add_file(path: str, local_path: str) -> 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.