Working in firmware developpement corporation, programming in C on a TI chip. I used Putty everyday and to run a C program with it, you only have to be sure than it can run on the remote target. Depending under which system your target is, the C program could be safe or not but i am able to make it with more informations.
Best regards,
--
BoB