check_and_download_file#
- ansys.aedt.core.generic.file_utils.check_and_download_file(remote_path: str | Path, overwrite: bool = True) str#
Check if a file is remote. Download it or return the path.
- Parameters:
- remote_path
strorpathlib.Path Path to the remote file.
- overwritebool,
optional Whether to overwrite the file if it already exists locally. The default is
True.
- remote_path
- Returns:
strPath to the remote file.