cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reading a Remote File in MII 15.0

Former Member
0 Likes
748

Hello Gurus,

I have this requirement that I need to read a .csv file in MII BLS which is created by shop floor system on a remote folder.

The path of the file is: \\xyz1.xyz.com\QData\Real\Machine25\State\state.csv

If I run this path from my StartMenu/Run , I am able to open this file.So there is no access issue of any kind.

But when i am using Text Loader, I am getting an exceptionthat no such file/directory. I'm not sure what needs to be done to read a remote file in MII.

Please help !

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

As it was a configuration issue, IT team mounted the folders which were on windows server to linux server where MIi was installed.

After that, I was able to use TextLoader action block to access the files via

Source URL path:  /../RootFolderName/FolderName/FileName.csv

Soham

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Sonam,

Did you check the Default path in your System Properties section.

Have a look at following post:

Regards,

Rohit Negi.

Former Member
0 Likes

Hi Rohit,

We figured it out that MII server is on Linux box while the file is on windows box. So there is some problem in reading windows file via unix box - some user authentication problem. We are working with IT to resolve it.

Once it gets resolve, I will update this post to clarify what was done and how am I reading the file?

Thanks for sharing the post though.

Regards,

Soham