The download.py
module#
Summary#
Download a file from the server to the localhost. |
Description#
Provides a function for downloading files from the server to the client.
Module detail#
- download.download_file(stub: ansys.api.additive.v0.additive_simulation_pb2_grpc.SimulationServiceStub, remote_file_name: str, local_folder: str, logger: ansys.additive.core.progress_logger.ProgressLogger = None) str #
Download a file from the server to the localhost.
- Parameters:
- remote_file_name: str
Path to file on the server.
- local_folder: str
Folder on your localhost to write your file to.
- logger: ProgressLogger
Log message handler.
- Returns:
str
Local path of downloaded file.