    

 ## On this page

  

 

 # Structure ansys::dpf::core::path\_utilities

 Last update: 25.03.2026 

<a id="structansys-dpf-core-path-utilities"></a>

![](https://img.shields.io/badge/language-C%2B%2B-blue "C++")![](https://img.shields.io/badge/-public-brightgreen "public")

## Members

- [uploadFile](structansys-dpf-core-path-utilities.md#structansys-dpf-core-path-utilities-1ac7b2f796f5562b530e11b7c680dd07e6)

## Public static functions

<a id="structansys-dpf-core-path-utilities-1ac7b2f796f5562b530e11b7c680dd07e6"></a>

### Function uploadFile

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
static std::string ansys::dpf::core::path_utilities::uploadFile(Client const *const client, std::string const &file_path, std::string const &to_server_file_path="", bool inTmp=true)

```

**Parameters**:

- [Client](classansys-dpf-client.md#classansys-dpf-client) const \*const **client**
- std::string const &amp; **file\_path**
- std::string const &amp; **to\_server\_file\_path** = ""
- bool **inTmp** = true

**Return type**: std::string