# UploadHandlerFile(string)

> Create a new upload handler to send data from the given file to the server.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.Networking](/engine/6000.6/script-reference/unityengine/networking.md)
* **Assembly:** UnityEngine.UnityWebRequestModule

```csharp
public UploadHandlerFile(string filePath)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): A file containing data to send.
