title: move file within FTP server using shell script
body: <p>i run into a following scenario</p>
  
  <ol>
  <li>download the file from FTP server to local and process it</li>
  </ol>
  
  <p>Ex: <strong>FTPSERVER/dir/file_name  => /data/process/file_name</strong></p>
  
  <ol>
  <li>After processing, move the file in FTP server to its archive folder</li>
  </ol>
  
  <p><strong>Ex: FTPSERVER/dir/file_name  => FTPSERVER/dir/archive/file_name</strong></p>
  
  <p>I have to do this using <strong><em>shell</em></strong> script. I have completed the first part using </p>
  
  <p><strong><em>ncftpget -u $USER -p $PASS $HOST/DIR/$FILENAME</em></strong></p>
  
  <p>I dont know how to do the second part.. which is moving the file into archive DIR of FTP server... </p>
  
  <p>could someone help me on this... </p>
  
  <p>Thanks in advance... </p>