> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Structure ansys::dpf::core::path_utilities

![][C++]
![][public]

## Members

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

## Public static functions

### Function uploadFile

![][public]
![][static]

```cpp theme={null}
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](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-client.md) const \*const **client**
* std::string const & **file\_path**
* std::string const & **to\_server\_file\_path** = ""
* bool **inTmp** = true

**Return type**: std::string

[C++]: https://img.shields.io/badge/language-C%2B%2B-blue "C++"

[const]: https://img.shields.io/badge/-const-lightblue "const"

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[static]: https://img.shields.io/badge/-static-lightgrey "static"
