Hello,
If I understand your job description correctly, you want a script that can be placed on your server and which you can then call over putty command line, and which depending on your input will write a certain data to the files your specify.
If this is what you need, I can do it.
For any questions please contact me,
Best regards,
Rolf Ernst