# Upload and download files

**URL:** <https://discourse.nodered.org/t/upload-and-download-files/89050>\
**Category:** Dashboard\
**Tags:** function-node, dashboard-2\
**Created:** [28 June 2024 16:00 UTC](https://discourse.nodered.org/t/upload-and-download-files/89050 "2024-06-28T16:00:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![guguzanini](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@guguzanini](https://discourse.nodered.org/u/guguzanini)\
**Post date:** [28 June 2024 16:00 UTC](https://discourse.nodered.org/t/upload-and-download-files/89050/1 "2024-06-28T16:00:11Z")

</div>

Hello,  
How can I develop a Dashboard on node-red, with the option for users who access the UI Interface (PC, smartphone) to upload their files (images, PDF, for example)? And how can I download them from another device (PC, Smartphone) using the UI Interface?  
Obs: I want to store the files on the Node-red server, so its easier to develop\*  
Is there a node or an example of a node to do this?

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [29 June 2024 19:17 UTC](https://discourse.nodered.org/t/upload-and-download-files/89050/2 "2024-06-29T19:17:50Z")

</div>

> **[@flowfuse/node-red-dashboard](https://flows.nodered.org/node/@flowfuse/node-red-dashboard)**
>
> Dashboard 2.0 - A collection of Node-RED nodes that provide functionality to build your own UI applications (inc. forms, buttons, charts).

Has a file upload node.

For download you can use a http endpoint [Serve a local file : Node-RED](https://cookbook.nodered.org/http/serve-a-local-file)  
Or a create a `<a href..>` link with a dashboard template node. [How can I create download link in HTML? - Stack Overflow](https://stackoverflow.com/questions/2793751/how-can-i-create-download-link-in-html)

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [29 June 2024 19:51 UTC](https://discourse.nodered.org/t/upload-and-download-files/89050/3 "2024-06-29T19:51:33Z")

</div>

Just to add to this, here is the documentation for the "File Input" node: [File Upload | Node-RED Dashboard 2.0](https://dashboard.flowfuse.com/nodes/widgets/ui-file-input.html)

---

<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:** [27 September 2024 19:52 UTC](https://discourse.nodered.org/t/upload-and-download-files/89050/4 "2024-09-27T19:52:29Z")

</div>

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