How to get files from a shared folder on a server

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.   
3 answers

Mendix document "Access a Samba Share" seems to be very old and I could not use that code.

And some people try to use smb share like this question and it seems to be difficult to use smb share on Mendix.

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

for Mx7


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.





I would like to suggest using OSS or S3 service instead, and only saving the file url is perfect for me. Next time I want to read the file, I can use communitycommon library to read the file from url, convert to file and for local use.