# Local Cloud Firmware Flash

**URL:** <https://community.particle.io/t/local-cloud-firmware-flash/8163>\
**Category:** Firmware\
**Created:** [November 15, 2014, 9:23pm UTC](https://community.particle.io/t/local-cloud-firmware-flash/8163 "2014-11-15T21:23:16Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![greenoutlet](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@greenoutlet](https://community.particle.io/u/greenoutlet)\
**Post date:** [November 21, 2014, 10:14pm UTC](https://community.particle.io/t/local-cloud-firmware-flash/8163/7 "2014-11-21T22:14:34Z")

</div>

Ok awesome, thanks! So I’ve successfully been able to to run the Uptime code given here:

> **[Tutorial: Getting Started with Spark.publish()](https://community.particle.io/t/tutorial-getting-started-with-spark-publish/3422)**
>
> Here’s a tutorial to get you started using Spark.publish(). Let’s imagine you want to monitor your core’s uptime, that is, how many hours, minutes, and seconds since the last time the core was reset or powered-up and view it on a web page that you...

and I’ve been able to use the spark subscribe command in the CLI. I can’t figure out to log this data though. We tried something like:

C:\User\vsolar\Desktop\>spark subscribe \>testdata.txt

and we got our data to print into this .txt file on the desktop! Now we are looking to implement this sort of thing directly in the application.cpp script. We can’t figure out the proper syntax to tell spark.subscribe() to log the data to a specific place in C:\

---

_[View the full topic](https://community.particle.io/t/local-cloud-firmware-flash/8163)._
