Sending files from c# program to the controller

I am trying to send files as .txt or .mod to the controller with my c# program, any ideas how to do it?.
In my program I write in the file some information and now I want to send it to the controller.

Hi,
Here’s a sample from the developer site: Loading a RAPID module to a task in the Robot controller

Best regards,
Daniel

Thanks dnilsson