receiving a text file into the controller

Hi all,

Does anyone know how to transfer a text file to a controller in real time?

Attached is a text file with coordinates,it works perfectly for me when reading it from the HOME folder.

I want to receive this file from another computer in real time.

Hope someone has an idea.
Thanks

The simplest way is to use FTP, but real time might be an issue there. More complicated would be to set up socket messaging.

test.txt (1.59 KB)

if anyone is interested i put the code for read text file