check_and_download_folder#
- ansys.aedt.core.generic.file_utils.check_and_download_folder(local_path: str | Path, remote_path: str | Path, overwrite: bool = True) str#
Download remote folder.
- Parameters:
- local_path
strorpathlib.Path Local path to save the folder to.
- remote_path
strorpathlib.Path Path to the remote folder.
- overwritebool,
optional Whether to overwrite the folder if it already exists locally. The default is
True.
- local_path
- Returns:
strPath to the local folder if downloaded, otherwise the remote path.