How to get files from a shared folder on a server

0
Hi, I have a folder like could you tell me which Mendix action I need to use to read he files in the folder below, load the list of files into an entity, then processe each of the files to import their respective entity.   
asked
2 answers
0

If it is an on premise installation and you have access rights you can do it with custom Java. Otherwise make this directory availabe on a SFTP server. There are modules in the appstore to retrieve those files so you have them as filedocuments in your model. From there you can do the process stuff with the Excel importer.

Regards,

Ronald

 

answered
0

Mendix document "Access a Samba Share" seems to be very old and I could not use that code.
https://docs.mendix.com/howto/integration/access-a-samba-share-from-the-mxcloud

And some people try to use smb share like this question and it seems to be difficult to use smb share on Mendix.
https://forum.mendix.com/link/questions/90521

So I created smb connector module to use smb share myself.
But it is not well tested, If you want to take a glance a code, see this module.

for Mx8
https://github.com/naofum/Mendix-SMBConnector/releases/download/v2.0.0/SMBConnector.mpk

for Mx7
https://github.com/naofum/Mendix-SMBConnector/releases/download/v1.0.1/SMBConnector-v1.0.1.mpk

answered