# 'Save to file' node problem

**URL:** <https://discourse.nodered.org/t/save-to-file-node-problem/15612>\
**Category:** General\
**Created:** [17 September 2019 07:37 UTC](https://discourse.nodered.org/t/save-to-file-node-problem/15612 "2019-09-17T07:37:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ferfersan6](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@ferfersan6](https://discourse.nodered.org/u/ferfersan6)\
**Post date:** [17 September 2019 07:37 UTC](https://discourse.nodered.org/t/save-to-file-node-problem/15612/1 "2019-09-17T07:37:33Z")

</div>

Hello! It may be a stupid question, but I am very newbie with Node-Red. I am using Node-Red online, I mean, with my internet browser (so I don't have it installed). The thing is that when I use the 'Save to file' node, I can't save it anywhere. I write the full path like "C:\New Folder\data.csv" but any file is created. Any idea? Sorry if this question does not fill here.  
Thanks in advance!!!.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [17 September 2019 07:46 UTC](https://discourse.nodered.org/t/save-to-file-node-problem/15612/2 "2019-09-17T07:46:27Z")

</div>

Node-RED file nodes work on the file system where Node-RED is installed - in this case - the cloud server you are running it on

So you won't be able to save files locally on your windows machine.

You will need to install it on your machine to save/read files locally

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [17 September 2019 08:15 UTC](https://discourse.nodered.org/t/save-to-file-node-problem/15612/3 "2019-09-17T08:15:04Z")

</div>

> [@cymplecy](#):
>
> So you won't be able to save files locally on your windows machine

Just to clarify that, there _are_ ways to save a server file to your local PC - via a download. It's just that is different to Node-RED's file output node which, as Simon say's, saves to the server.

---

<div class="post-metadata">

**Author:** ![ferfersan6](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@ferfersan6](https://discourse.nodered.org/u/ferfersan6)\
**Post date:** [19 September 2019 09:10 UTC](https://discourse.nodered.org/t/save-to-file-node-problem/15612/4 "2019-09-19T09:10:37Z")

</div>

Yes, I supposed that I could not save it locally. Thanks for your answer guys, it cleared my mind.  
Do you know any of the "ways" you are telling me to save them via download?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [19 September 2019 16:18 UTC](https://discourse.nodered.org/t/save-to-file-node-problem/15612/5 "2019-09-19T16:18:44Z")

</div>

> [@ferfersan6](#):
>
> Do you know any of the "ways" you are telling me to save them via download?

All you need is to provide a link to it, the browser will do the rest.

The easiest way is to set up the static folder in settings.js and then save your file to that folder. Finally set up a web page with a link. Click the link and the file will download as long as it isn't a file type that the browser understands how to show (e.g. html, css, javascript, etc).

---

<div class="post-metadata">

**Author:** ![ferfersan6](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@ferfersan6](https://discourse.nodered.org/u/ferfersan6)\
**Post date:** [20 September 2019 08:21 UTC](https://discourse.nodered.org/t/save-to-file-node-problem/15612/6 "2019-09-20T08:21:58Z")

</div>

mmm seems tricky. I will investigate that. Thank you!!
