Cloud Drive SFTP for Odoo

Odoo attachments on your NAS or SFTP server.

What Cloud Drive SFTP does

Connect any SSH / SFTP server to Viyug Cloud Drive: a Synology or QNAP NAS, a Linux server or a hosting account. Odoo files each document in its record folder, checks every upload by reading it back and refuses to talk to a server whose key changed.

SFTP drive for Viyug Cloud Drive: move Odoo attachments to any SSH / SFTP server, Synology or QNAP NAS or hosting account, folder rules per model, password or private key login, pinned server key, resumable chunked uploads with atomic rename, read-back verification before the local copy is freed, two-way folder sync into the chatter.

  • Any SSH server
  • Pinned server key
  • Resumable uploads

Features

  • Enable SFTP on the NAS

    Create a user for Odoo with a home folder.

  • Connect in Odoo

    Host, port, user, password or key; the server key is pinned.

  • Odoo files documents

    Into Vendors / Wood Corner / 2026 / Purchases / P00008 and so on.

  • Staff use the NAS

    Files they save there appear on the record.

  • Any SSH / SFTP server

    Synology, QNAP, TrueNAS, Linux servers, hosting accounts. Root folder relative to the home folder or absolute.

  • Password or key

    Password or private key (RSA, ECDSA, Ed25519, OpenSSH or PEM, with passphrase).

  • Pinned server key

    The server key fingerprint is saved at the first connection; a different key blocks every job until an administrator confirms.

  • Safe uploads

    Files are written to a hidden .part file in 8 MB chunks, resumed after a broken connection and renamed atomically.

  • Read-back check

    Every upload is read back and compared (SHA-1) before Odoo frees its own copy.

  • NAS to Odoo

    Files saved into a record folder on the NAS appear on the record in Odoo.

Before and after

Without the app

  • Documents copied by hand to the NAS
  • Two versions, nobody knows which is right
  • Large uploads break on slow lines
  • Server swaps go unnoticed

With Cloud Drive SFTP

  • Odoo files documents into the NAS folders itself
  • Changes on either side sync, conflicts keep both
  • Uploads continue where they stopped
  • A changed server key stops the jobs at once

How it works, step by step

  1. 01Connect the NAS

    Host, port, user and password or private key. At the first successful test the server key fingerprint is pinned on the drive.

    Cloud Drive SFTP: Connect the NAS
  2. 02Folders on the NAS

    An SFTP session on the NAS shows what Odoo created: one folder per vendor, year and purchase order, with the vendor quotes inside.

    Cloud Drive SFTP: Folders on the NAS
  3. 03Saved on the NAS, visible in Odoo

    The logistics team saved the delivery schedule into the purchase order folder on the NAS. The next drive check attached it to the purchase order with a chatter note.

    Cloud Drive SFTP: Saved on the NAS, visible in Odoo
  4. 04The NAS folder from the purchase order

    The Drive button opens the NAS folder of the purchase order: the vendor quote uploaded by Odoo and the schedule added on the NAS, both in sync.

  5. 05A problem shows at once

    Someone changed the NAS password. Login refused is not retried blindly: the jobs become dead letters and the drive turns amber on the health dashboard.

  6. 06The dead letters

    The sync log lists the upload and the weekly NAS backup that failed with the exact reason.

  7. 07Fixed and retried

    After entering the new password and testing the drive, Retry runs the dead letters again: the packing list is uploaded and the backup stored on the NAS.

Included apps

Odoo installs these Viyug Infotech apps together with Cloud Drive SFTP.

Questions about Cloud Drive SFTP

Is paramiko part of Odoo?

Not in the official requirements. Most hosting images have it; otherwise pip install paramiko (Odoo.sh: add it to requirements.txt). Without it the drive shows how to install it instead of failing.

What if the NAS is reinstalled?

Its key changes and the jobs stop with a clear message. Check it, clear the pinned key on the drive and test again.

Can staff rename files on the NAS?

Yes. The engine notices removed and new files in record folders; files that live only on the NAS are never deleted in Odoo.

All Odoo apps

Related Odoo apps

Tell us which systems disagree. We will fix that.

Thirty minutes with an engineer, not a salesperson. You leave with a map of what you run, what to connect first and a price range, whether or not you hire us.