download_file#

ACPInstance.download_file(remote_path, local_path)#

Download a file from the server.

Warning

Do not execute this function with untrusted input parameters. See the security guide for details.

Parameters:
  • remote_path (str | PathLike[str]) – The path of the file on the server.

  • local_path (str | PathLike[str]) – The path of the file to be downloaded to.