# File downloaded on Mac OS

**URL:** <https://discourse.nodered.org/t/file-downloaded-on-mac-os/22833>\
**Category:** General\
**Created:** [9 March 2020 08:06 UTC](https://discourse.nodered.org/t/file-downloaded-on-mac-os/22833 "2020-03-09T08:06:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![taminhhienmor](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/taminhhienmor/32/19779_2.png) [@taminhhienmor](https://discourse.nodered.org/u/taminhhienmor)\
**Post date:** [9 March 2020 08:06 UTC](https://discourse.nodered.org/t/file-downloaded-on-mac-os/22833/1 "2020-03-09T08:06:40Z")

</div>

Where can I find file downloaded from node "file" on MAC OS. Thanks you

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [9 March 2020 08:18 UTC](https://discourse.nodered.org/t/file-downloaded-on-mac-os/22833/2 "2020-03-09T08:18:06Z")

</div>

If you didn't use an absolute path for the filename, then the file will have been written in the working directory of the Node-RED process. What that directory is will depending entirely on where and how you are running Node-RED.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [9 March 2020 09:34 UTC](https://discourse.nodered.org/t/file-downloaded-on-mac-os/22833/3 "2020-03-09T09:34:36Z")

</div>

In my case with a 'normal' install, if you just name the file i.e. `test.txt` it will end up in your users folder. My user name is Paul so it will be `/Users/Paul/test.txt`

---

<div class="post-metadata">

**Author:** ![taminhhienmor](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/taminhhienmor/32/19779_2.png) [@taminhhienmor](https://discourse.nodered.org/u/taminhhienmor)\
**Post date:** [9 March 2020 09:59 UTC](https://discourse.nodered.org/t/file-downloaded-on-mac-os/22833/4 "2020-03-09T09:59:35Z")

</div>

Now, I run it on platform enebular. And I can't download it because permission denied as picture

 ![6cc6d3322845473bc33d542f4a9720ac](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/8/e8a6a68c14efffc6db99c836b81990efb113c214.png)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [9 March 2020 10:04 UTC](https://discourse.nodered.org/t/file-downloaded-on-mac-os/22833/5 "2020-03-09T10:04:34Z")

</div>

have you looked in the [enebular documentation](https://docs.enebular.com/en/)?

---

<div class="post-metadata">

**Author:** ![taminhhienmor](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/taminhhienmor/32/19779_2.png) [@taminhhienmor](https://discourse.nodered.org/u/taminhhienmor)\
**Post date:** [9 March 2020 10:12 UTC](https://discourse.nodered.org/t/file-downloaded-on-mac-os/22833/6 "2020-03-09T10:12:11Z")

</div>

I've looked it.  
In windows, I can download and find file downloaded inside setting software.  
In Mac, because I don't often use it, I don't know where accept permission download and write file of software

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [9 March 2020 10:39 UTC](https://discourse.nodered.org/t/file-downloaded-on-mac-os/22833/7 "2020-03-09T10:39:23Z")

</div>

Having never heard of enebularbefore your post, I can't give you much more help that saying read that documentation and if you don't understand it contact enebular and ask them some questions.

Or possibly someone else here has used it on a mac and can give you some pointers

---

<div class="post-metadata">

**Author:** ![unixneo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/unixneo/32/17441_2.png) [@unixneo](https://discourse.nodered.org/u/unixneo)\
**Post date:** [9 March 2020 17:43 UTC](https://discourse.nodered.org/t/file-downloaded-on-mac-os/22833/8 "2020-03-09T17:43:17Z")

</div>

As an experiment, use an `exec` node and write some files to the computer.

I did this a few weeks ago, and I found the default was in the `.node-red` directory of the instance (as Nick mentioned in his reply).

Also found I could write to any directory (with the right permissions of course) in the `,node-red` directory tree ( the `.node-red` sub directories).

I also recall the system (the underlying `node.js` system) would not write to directories outside that directory structure; but should / need to confirm exactly, as I did not pay that much attention to all the different use cases (could have been a "permissions thingy").

In a nutshell, it's easy to use an `exec` node to check how thing work and where you can write in the file system and where you cannot write to the filesystem. It's probably faster to just run your own tests and you can get the results faster than the time it takes to write the question and wait for a reply.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 May 2020 17:55 UTC](https://discourse.nodered.org/t/file-downloaded-on-mac-os/22833/9 "2020-05-08T17:55:41Z")

</div>

Closed on 8 May 2020 17:55 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
