MIDServerFileSync - Global
concept australia Updated Sep 10, 2026 1 min read c_MIDServerFileSyncAPI.md
The MIDServerFileSync script include provides methods to check to see if there are any changes to attachments on tables that are instances of MID Server synchronized files (ecc_agent_sync_file) and, if so, notifies the MID Servers of a change.
The tables that extend the sync tables are MID Server JAR file (ecc_agent_jar) and MID Server MIB File (ecc_agent_mib).
Use in server scripts to notify MID Servers.
Parent Topic:Server API reference
MIDServerFileSync - MIDServerFileSync()
Creates an instance of MIDServerFileSync.
| Name | Type | Description |
|---|---|---|
| None |
MIDServerFileSync - notifyMIDServers(String table)
Checks for any changes to attachments on the specified table that are instances of MID server synchronized files and, if so, notifies the MID servers of a change.
| Name | Type | Description |
|---|---|---|
| table | String | The table to check |
| Type | Description |
|---|---|
| void |
JavaScript
var msfs = new MIDServerFileSync();msfs.notifyMIDServers('ex.table.name');50 lines · 2.1 KB
---
title: MIDServerFileSync - Global
description: The MIDServerFileSync script include provides methods to check to see if there are any changes to attachments on tables that are instances of MID Server synchronized files \(ecc\_agent\_sync\_file\) and, if so, notifies the MID Servers of a change.Creates an instance of MIDServerFileSync.Checks for any changes to attachments on the specified table that are instances of MID server synchronized files and, if so, notifies the MID servers of a change.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/server-api-reference/c\_MIDServerFileSyncAPI.html
release: australia
product: Server API Reference
classification: server-api-reference
topic_type: concept
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Server API reference, API reference, API implementation and reference]
---
# MIDServerFileSync- Global
The MIDServerFileSync script include provides methods to check to see if there are any changes to attachments on tables that are instances of MID Server synchronized files \(ecc\_agent\_sync\_file\) and, if so, notifies the MID Servers of a change.
The tables that extend the sync tables are MID Server JAR file \(ecc\_agent\_jar\) and MID Server MIB File \(ecc\_agent\_mib\).
Use in server scripts to notify MID Servers.
**Parent Topic:**[Server API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/server-api-reference/api-server.md)
## MIDServerFileSync - MIDServerFileSync\(\)
Creates an instance of MIDServerFileSync.
|Name|Type|Description|
|----|----|-----------|
|None| | |
## MIDServerFileSync - notifyMIDServers\(String table\)
Checks for any changes to attachments on the specified table that are instances of MID server synchronized files and, if so, notifies the MID servers of a change.
|Name|Type|Description|
|----|----|-----------|
|table|String|The table to check|
|Type|Description|
|----|-----------|
|void| |
```
var msfs = new MIDServerFileSync();
msfs.notifyMIDServers('ex.table.name');
```
| title | MIDServerFileSync - Global |
| description | The MIDServerFileSync script include provides methods to check to see if there are any changes to attachments on tables that are instances of MID Server synchronized files \(ecc\_agent\_sync\_file\) and, if so, notifies the MID Servers of a change.Creates an instance of MIDServerFileSync.Checks for any changes to attachments on the specified table that are instances of MID server synchronized files and, if so, notifies the MID servers of a change. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/api-reference/server-api-reference/c\_MIDServerFileSyncAPI.html |
| release | australia |
| product | Server API Reference |
| classification | server-api-reference |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Server API referenceAPI referenceAPI implementation and reference |