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_pathstr or pathlib.Path

Local path to save the folder to.

remote_pathstr or pathlib.Path

Path to the remote folder.

overwritebool, optional

Whether to overwrite the folder if it already exists locally. The default is True.

Returns:
str

Path to the local folder if downloaded, otherwise the remote path.