title: Download files from specific folder in AIX box
body: <p>I have an AIX box. I wanted to connect to remote FTP server and download a specified folder "abc".</p>
  
  <p>I have created a script; but it isn't working.</p>
  
  <p>Here is my Code:</p>
  
  <pre><code>#!/bin/sh HOST='ftp.abc.xysz.net' USER='ftp' PASSWD='password' FILE='ababababababababababababab.abab'; 
  ftp $HOST user $USER $PASSWD mget $FILE 
  quit END_SCRIPT 
  exit 0
  </code></pre>
  
  <p>Here is the error I receive when I execute Script..</p>
  
  <p><a href="https://i.stack.imgur.com/i0KkY.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i0KkY.jpg" alt="enter image description here"></a></p>
  
  <p>Anyone has any idea to download the files from remote FTP server. Is there any single command available</p>