title: Copy Directories Recursively From Ftp Server Using Perl
body: <p>I need to write a perl script which has to log in to an FTP server and download all the sub-directories and contents on sub-directories to local machine. The version of Perl on the FTP server is 5.8.8, i can't upgrade it. One method is to create directories on local machine and then copy each file. I was wondering if there is any command to copy a directory and its content. Is it possible to "tar" the directory to save space?</p>
  
  <p>Thanks,
  Amit.</p>