title: FTP from unix to windows from shell script
body: <p>Hi i know there are similar questions out there but i still have some doubt as i am new to this.I want to FTP my file(abc.txt) from <strong>UNiX</strong> box to <strong>windows</strong> box.I tried one script as given below.</p>
  
  <pre><code>#!/bin/bash
  HOST='my window ip address?'
  USER='unix user?'
  PASSWD='unix password?'
  FILE='/opt/sie/w44gq8as/abc.txt'
  ftp $HOST &lt;&lt;END_SCRIPT
  user $USER
  $PASSWD
  put $FILE
  quit
  END_SCRIPT
  exit 0
  </code></pre>
  
  <p>My doubts are already in my script i want to know few questions . </p>
  
  <p><strong>HOST</strong>-: Is this windows ip address i want to ftp?</p>
  
  <p><strong>User</strong>: Is this unix user or window user?</p>
  
  <p><strong>Password</strong> : unix server pass or window ?</p>
  
  <p>Is above script ok for FTP from unix to windows? Sorry if i am asking something really silly but i am somewhat confused.</p>