title: SHELL script to make ftp connection and get xml files
body: <p>I need a shell script that will login to a remote FTP server, get the list of files present in only root folder and identify only xml files and get those files to local system.
  Login credentials can be mentioned in the script it self. This script must be run once a day only.</p>
  
  <p>Please help me with a UNIX BASH SHELL script.</p>
  
  <p>Thanks</p>