# Can Syncthing be used for:

**URL:** https://forum.syncthing.net/t/can-syncthing-be-used-for/23849
**Category:** General
**Created:** [February 17, 2025, 1:02pm UTC](https://forum.syncthing.net/t/can-syncthing-be-used-for/23849 "2025-02-17T13:02:22Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Dsotm](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/dc4da7/32.png) [@Dsotm](https://forum.syncthing.net/u/Dsotm)
#### Post date: [February 17, 2025, 1:02pm UTC](https://forum.syncthing.net/t/can-syncthing-be-used-for/23849/1 "2025-02-17T13:02:23Z")

</div>

I have a requirement to automatically transfer data from handheld measurement devices located on vessels at sea, to a network folder on the vessel. There are two types of devices located on the vessels:

**Android** Normal phone with latest Android, connected via Wifi to vessel networks

**MQTT/USB** The second device currently connects via USB and the operator drags and drops files from the unit to the dedicated network folder. It is capable of auto-sending an MQTT stream when in range of the WIFI, but this does not help with transfer of the full data files. For this we would need MQTT File Transfer. Or alternatively, if Syncthing can auto-detect when the unit is plugged into a USB port, it will detect it and automatically move the full data files to the network folder.

Is any of the above possible? Many thanks in advance Brian

---

<div class="post-metadata">

### Author: ![gadget](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/g/dec6dc/32.png) [@gadget](https://forum.syncthing.net/u/gadget)
#### Post date: [February 17, 2025, 5:40pm UTC](https://forum.syncthing.net/t/can-syncthing-be-used-for/23849/2 "2025-02-17T17:40:34Z")

</div>

> [@Dsotm](#):
>
> Is any of the above possible?

With a normal Syncthing setup, no, afraid not. The normal expectation is that each linked device runs Syncthing – i.e. the vessel’s file server, Android phone, device connected to the MQTT/USB.

What OS is running on the device connected to the MQTT/USB?

What type of network folder is being used? (e.g. [SMB/CIFS](https://en.wikipedia.org/wiki/Server_Message_Block))

---

<div class="post-metadata">

### Author: ![Dsotm](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/dc4da7/32.png) [@Dsotm](https://forum.syncthing.net/u/Dsotm)
#### Post date: [February 17, 2025, 11:33pm UTC](https://forum.syncthing.net/t/can-syncthing-be-used-for/23849/3 "2025-02-17T23:33:31Z")

</div>

Hi gadget

The vessel server and Android device can definitely have Syncthing installed, so I guess it can run there Ok.

The MQTT enabled device does not has an OS per se, probably a proprietary OS from the OEM, but is recognised as a Flash Drive when plugged into a USB slot.

---

<div class="post-metadata">

### Author: ![gadget](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/g/dec6dc/32.png) [@gadget](https://forum.syncthing.net/u/gadget)
#### Post date: [February 18, 2025, 12:49am UTC](https://forum.syncthing.net/t/can-syncthing-be-used-for/23849/4 "2025-02-18T00:49:24Z")

</div>

> [@Dsotm](#):
>
> The vessel server and Android device can definitely have Syncthing installed, so I guess it can run there Ok.

Just need to configure Syncthing as though you have a closed network without internet access (i.e. no access to Syncthing’s global discovery servers and network of volunteer relay servers).

> [@](#):
>
> The MQTT enabled device does not has an OS per se, probably a proprietary OS from the OEM, but is recognised as a Flash Drive when plugged into a USB slot.

Ideally, when the MQTT-enabled device switches to USB storage mode the drive isn’t read-only.

If so, and Syncthing (or perhaps you) can create Syncthing’s [marker folder](https://docs.syncthing.net/users/faq.html#i-am-seeing-the-error-message-folder-marker-missing-what-do-i-do) on the MQTT-enabled device, then the PC it’s plugged into can use Syncthing to sync the data files to the vessel’s file server.

Whenever the MQTT-enabled device is unplugged from the PC, Syncthing on the PC will present an error that the source folder is missing, but it’ll automatically recover once it’s plugged back in.

However, if the MQTT-enabled device appears as a read-only USB flash drive, then you’ll have to use the recommended solution in Syncthing’s FAQ and also start/stop the sync only when the drive is plugged in.

See also:

- [Understanding Synchronization](https://docs.syncthing.net/users/syncing.html)

---

<div class="post-metadata">

### Author: ![mraneri](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/m/b19c9b/32.png) [@mraneri](https://forum.syncthing.net/u/mraneri)
#### Post date: [February 18, 2025, 4:28am UTC](https://forum.syncthing.net/t/can-syncthing-be-used-for/23849/5 "2025-02-18T04:28:26Z")

</div>

> [@gadget](#):
>
> If so, and Syncthing (or perhaps you) can create Syncthing’s [marker folder](https://docs.syncthing.net/users/faq.html#i-am-seeing-the-error-message-folder-marker-missing-what-do-i-do) on the MQTT-enabled device,

If the file system presents as read only, the folder can still be synced assuming there is another folder that’s always present on the USB “drive”. It’s an advanced setting but you can change the name of the folder syncthing uses as the marker.

---

<div class="post-metadata">

### Author: ![Dsotm](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/dc4da7/32.png) [@Dsotm](https://forum.syncthing.net/u/Dsotm)
#### Post date: [February 18, 2025, 7:04am UTC](https://forum.syncthing.net/t/can-syncthing-be-used-for/23849/6 "2025-02-18T07:04:16Z")

</div>

Hi Mike

The device has a fixed folder structure, we can copy and paste via Explorer to the unit, and the files in question will always be in the same named folder, so I think this my be a workable solution. 👍
