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