upload_file#

ACPInstance.upload_file(local_path)#

Upload a file to the server.

Warning

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

Parameters:

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

Returns:

The path of the uploaded file on the server.

Return type:

PurePath

Examples using ACPInstance.upload_file#

Advanced PyMAPDL workflow

Advanced PyMAPDL workflow