# SendDmsFileChange(Engine, String)

{% code title="Declaration" %}

```csharp
public static SetDataMinerInfoResponseMessage SendDmsFileChange(Engine engine, string filePath)
```

{% endcode %}

{% code title="Example" %}

```csharp
SLNet.SendDmsFileChange(engine, "C:\Skyline DataMiner\ProtocolScripts\epic.dll");
```

{% endcode %}

{% code title="Result" %}

```csharp
SetDataMinerInfoResponseMessage
```

{% endcode %}

<table><thead><tr><th width="134.33333333333331">Type</th><th width="114">Name</th><th>Description</th></tr></thead><tbody><tr><td><a href="https://docs.dataminer.services/develop/api/types/Skyline.DataMiner.Automation.Engine.html">Engine</a></td><td>engine</td><td>Interfaces with the DataMiner System from an Automation script.</td></tr><tr><td><a href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td><td>filePath</td><td>The target file to sync (local path on the DMA).</td></tr></tbody></table>

{% hint style="info" %}
At the time of testing only files in "C:\Skyline DataMiner\ProtocolScripts" appear to get synced.
{% endhint %}
