Connector Importer Source SFTP
Add import source capable of loading files from SFTP.
Source type provided at the moment: CSV.
Special feature: move files to another path when the import is finished.
You can configure input, error, success path.
Files are searched into input folder and if the flag move_file_after_import is enabled, the file will be moved to error or success path depending on the result of the import process.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a new CSV import source that reads files from an SFTP server, and can automatically move each processed file to a success or error folder depending on the import result.
This module adds a new import source type called "CSV SFTP" that you can select when configuring an import in the Connector Importer. Instead of uploading a file manually, Odoo connects to an SFTP storage backend and picks up the first file whose name matches a pattern you define.
On the import source form you fill in: - the SFTP storage backend to use; - the input folder where files are looked for; - a filename pattern (a regular expression, by default any .csv file); - optionally, an error folder and a success folder.
If "Move file after import" is enabled, once the import finishes the file is moved to the success folder when records were created, updated or skipped, or to the error folder when at least one line failed. The move happens only after the database transaction is committed. If "Send back error report" is enabled and errors occurred, a CSV report of the failed lines is generated and written to the error folder.
The module extends the existing CSV import source and the import source selection, and adds a listener on import recordsets to trigger the file move and the error report. It relies on the SFTP storage backend and the component event system.
Models and fields (2)
- import.source.csv.sftp · new modelname, storage_id (Storage backend), sftp_path_error (SFTP Folder path - Error), sftp_path_input (SFTP Folder path - Input), sftp_path_success (SFTP Folder path - Success), sftp_filename_pattern (SFTP Filename pattern), move_file_after_import, send_back_error_report
- sftp.source.import.recorset.event.listener · new model
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/connector-interfaces.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.