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
str
orpathlib.Path
Local path to save the folder to.
- remote_path
str
orpathlib.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:
str
Path to the local folder if downloaded, otherwise the remote path.