# ONE-drive upload

**URL:** <https://discourse.nodered.org/t/one-drive-upload/96616>\
**Category:** General\
**Created:** [17 April 2025 08:30 UTC](https://discourse.nodered.org/t/one-drive-upload/96616 "2025-04-17T08:30:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GBROKO](https://avatars.discourse-cdn.com/v4/letter/g/c77e96/32.png) [@GBROKO](https://discourse.nodered.org/u/GBROKO)\
**Post date:** [17 April 2025 08:30 UTC](https://discourse.nodered.org/t/one-drive-upload/96616/1 "2025-04-17T08:30:13Z")

</div>

I would like to use the OneDrive node to automatically synchronize something locally from the computer to a OneDrive folder. For the options, I set access via drive but I'm not sure about the configuration and I get the message that it can't find a file even though in the debug there is a file in the msg.payload.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 April 2025 08:49 UTC](https://discourse.nodered.org/t/one-drive-upload/96616/2 "2025-04-17T08:49:21Z")

</div>

> [@GBROKO](#):
>
> I get the message that it can't find a file even though in the debug there is a file in the msg.payload.

I don't know about that node, but have you specified the full path to the folder? Also is node-red installed with Docker or Home Assistant or similar?

---

<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 April 2025 12:12 UTC](https://discourse.nodered.org/t/one-drive-upload/96616/3 "2025-04-17T12:12:53Z")

</div>

Don't use a specialist node for that, you should have the OneDrive folder mounted in your OS filing system. As such, you can simply use Node-RED's file handling nodes.

This will be more robust since you can let the OS handle any synchronisation.

---

<div class="post-metadata">

**Author:** ![GBROKO](https://avatars.discourse-cdn.com/v4/letter/g/c77e96/32.png) [@GBROKO](https://discourse.nodered.org/u/GBROKO)\
**Post date:** [17 April 2025 12:18 UTC](https://discourse.nodered.org/t/one-drive-upload/96616/4 "2025-04-17T12:18:15Z")

</div>

Thanks. The problem is i want to do that on a RevPi. And i am not sure if that is possible on that device

---

<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 April 2025 12:19 UTC](https://discourse.nodered.org/t/one-drive-upload/96616/5 "2025-04-17T12:19:29Z")

</div>

Should be possible since there is a Linux filing system driver for OneDrive. I don't know that device specifically though.

This was from May last year: [https://techcommunity.microsoft.com/discussions/microsoft-365/onedrive-on-linux/1318644](https://techcommunity.microsoft.com/discussions/microsoft-365/onedrive-on-linux/1318644)

> - Via the OneDrive Client for Linux - [GitHub - abraunegg/onedrive: OneDrive Client for Linux](https://github.com/abraunegg/onedrive) - this 'syncs' your data, bi-directional operation, open source and free. Supports Personal, Business & SharePoint account types and Shared Folders. A Docker container is also available for all major architectures (i686, x86\_64, ARMHF, AARCH64). If you need a GUI for onedrive client management use: [GitHub - bpozdena/OneDriveGUI: A simple GUI for OneDrive Linux client with multi-account support.](https://github.com/bpozdena/OneDriveGUI)
> - Via the 'onedriver' client - [GitHub - jstaf/onedriver: A native Linux filesystem for Microsoft OneDrive](https://github.com/jstaf/onedriver) - Native file system that only provides the OneDrive 'on-demand' functionality, open source and free. Supports Personal, Business account types. Currently does not support Shared Folders or SharePoint.
> - Via 'rclone' - [https://rclone.org/](https://rclone.org/) - one way sync client, open source and free. Has limitations with SharePoint.
> - Via non-free clients such as 'insync', 'ExpanDrive'
