How would YOU access a file on another PC via WiFi? Do you even understand what that means?
You make GET requests using a WiFi or Ethernet shield. The GET request runs the specified script on the specified server, with the specified data.
So, clearly, you need to develop a script that runs on some server that knows how to read "the file", and you need to make a GET request to execute that script. One of the pieces of data you could pass to the script is the name of the file to read. Another could be the record number. It all depends on what the script needs, in order to return to you the data you want.
Put the Arduino away for now. Get the script working, calling it from a web browser. When it works, then get the Arduino back out, and make it call the script.
PaulS:
Put the Arduino away for now. Get the script working, calling it from a web browser. When it works, then get the Arduino back out, and make it call the script.
I did not want to install a web server... I wanted the application to work all the time, and "everywhere", so I was talking about "file"
given a pc "server" (eg 192.168.0.123) with a shared folder (eg "share")
the management application write a file for each arduino in the network (eg arduino1.txt, arduino2.txt, etc ...)
arduino # 01 every 30sec reads the contents of the file \192.168.0.123\share\arduino1.txt
arduino # 02 every 30sec reads the contents of the file \192.168.0.123\share\arduino2.txt
etc...
it's possible to do it? ...or is it better to use a Raspberry?
No. The Arduino can NOT, by itself, read files anywhere. It hasn't a clue what a file is. It hasn't a clue where the file is that you expect it to read.