title: Run a script in remote UNIX using windows command prompt
body: <p>I currently connect to my UNIX installed on my remote server using Secure CRT. I have a script(sh) on my UNIX which generates a file. I need to su(switch user) before executing the script.</p>
  
  <p>I then ftp to this server(using ftp commands in command prompt on windows) and get the file generated by the above shell script.</p>
  
  <p>However, I would like to automate this process and create a windows .bat file which would connect me to the UNIX server, su and run the required shell script and fetch the file.</p>
  
  <p>I have found that I cannot run the shell script on UNIX using ftp. Could you please suggest me   alternate ways to automate this?</p>
  
  <p>Thanks</p>