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
str
orpathlib.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:
str
Path to the remote file.