Contributors mailing list archives

contributors@odoo-community.org

Re: SFTP-based connector

by
Magnus, Willem Hulshof
- 16/05/2018 09:11:12

In @Reis’ PR also PR 926 is mentioned regarding “external_file_location”. I’m using this one and I extended it with an option “import/export” to be able to move files between different remote storages and the Odoo file system and/or vice versa. Its workings are controlled from the marvelous “attachment_base_synchronize” module form the same repo (server-tools). For instance, you can import a file from remote (s)ftp storage and write it to the odoo file system right away for  (in my case) OCR-ing them and after that import the processed file from the Odoo file system again. This process can also be configured to run any other way with many generic control levers in attachment_base_synchronize. The only draw back is that a rather old python module is used for the file handling, fs-0.5.4.

If anybody is interested in this adaptation, I can PR it to server-tools. It is 10.0 currently.

 

 

Willem Hulshof

Van: Daniel Reis <dgreis@sapo.pt>
Beantwoorden - Aan: "Odoo Community Association (OCA) Contributors" <contributors@odoo-community.org>
Datum: woensdag 16 mei 2018 om 10:32
Aan: Contributors <contributors@odoo-community.org>
Onderwerp: Re: SFTP-based connector

 

Have a look at "connector_sftp" (https://github.com/OCA/server-tools/pull/985).


--
Regards
Daniel

 

Citando Sebastien Beau <sebastien.beau@akretion.com>:

Hi Maxime

We are working on something more generic and more splitted, based on the component module from Camptocamp

I plan to propose to OCA when it will be mature enough

The project is call storage :
https://github.com/akretion/storage with a good coverage 96%
 

You have a based module call storage and them implementation of storage (storage_backend_sftp, storage_backend_s3)
 

This module provide an abstract method to send a retrieve file on the backend_storage. The main idea is to have a really simple way to send and get file without carring on the way to send.
 

Then we have extra module that depend on storage_backend and can be used for storing file, image, thumbnail....

I will also propose really soon a module that use the storage_backend for storing the attachment
 

Acsone already use it, and will contribute a google cloud connector.
 

If you need more information you can call me ;)

 

 

2018-05-14 20:01 GMT+02:00 Maxime Chambreuil <mchambreuil@opensourceintegrators.com>:

Hello,

I have to transfer XML files to a remote system through a SFTP server. 

I found these modules:

and also this discussion:

I would like to split my requirement in 2 modules:

  • connector_file that would allow the user to define a SFTP or FTP backend. Other protocols can be added later.

  • connector_** where I would generate my XML files and use the backend to push it to the SFTP server

The result of the discussion above is not clear... Is it okay to push connector_file to connector-interfaces?

Thanks!

 

MAXIME CHAMBREUIL
PROJECT MANAGER/CONSULTANT

O: 1.855.877.2377 EXT. 710
M: 602.427.5632
E: MChambreuil@OpenSourcelntegrators.com

P.O. BOX 940, HIGLEY, AZ 85236

https://www.opensourceintegrators.com/ursa-signatures/images/open-logo.jpg

https://www.opensourceintegrators.com/ursa-signatures/images/magento-logo.jpghttps://www.opensourceintegrators.com/ursa-signatures/images/hadoop-logo.jpghttps://www.opensourceintegrators.com/ursa-signatures/images/odoo-logo.jpg

_______________________________________________
Mailing-List:
https://odoo-community.org/groups/contributors-15
Post to: mailto:
contributors@odoo-community.org
Unsubscribe:
https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List:
https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe:
https://odoo-community.org/groups?unsubscribe


 

_______________________________________________
Mailing-List:
https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe:
https://odoo-community.org/groups?unsubscribe