# Using UDP to transfer files between mesh gateway and end-nodes

**URL:** https://community.particle.io/t/using-udp-to-transfer-files-between-mesh-gateway-and-end-nodes/47295
**Category:** BLE // NFC
**Tags:** xenon
**Created:** [January 26, 2019, 5:48pm UTC](https://community.particle.io/t/using-udp-to-transfer-files-between-mesh-gateway-and-end-nodes/47295 "2019-01-26T17:48:37Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ninjatill](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ninjatill/32/17370_2.png) [@ninjatill](https://community.particle.io/u/ninjatill)
#### Post date: [January 26, 2019, 8:43pm UTC](https://community.particle.io/t/using-udp-to-transfer-files-between-mesh-gateway-and-end-nodes/47295/2 "2019-01-26T20:43:15Z")

</div>

Have you seen this thread by @rickkas7? It may help...

> [@Sending data with mesh devices](https://community.particle.io/t/sending-data-with-mesh-devices/46282):
>
> As it turns out, I misunderstood a few things about how data exchange works on mesh devices, and there are a lot more options for sending data from Xenons directly to the Internet, if you use UDP. In fact, you can communicate directly with IPv4 hosts on the Internet using UDP, directly from the Xenon! Particle.publish and Particle.subscribe The standard Particle.publish and Particle.subscribe functions work across the mesh network, and also allow communication with APIs (via webhooks and SSE) a…

---

_[View the full topic](https://community.particle.io/t/using-udp-to-transfer-files-between-mesh-gateway-and-end-nodes/47295)._
