Creating a text file in Local Drive

Hi All, I am new in Shell Script. I have a ksh script running in the Unix Server and basically in that script I need to create a text file but the text file has to be generated in the local PC (the user computer such as in C:\ drive). I have no idea on how to do it and I need it pretty urgently. Thanks a lot for your help.

If you have a newer version of putty, that includes pageant, pscp, plink...
Authenticate using pageant, and use plink to initiate a remote command from your PC writing the output to a file, then use pscp to copy the output to your pc.

Hi,
Thanks for your reply. I believe we are using the newer version of putty but I am lost with your explanation as I am actually not a UNIX pogrammer (I am more for web programmer). Are you able to post me the sample code? thanks