Shell script to download the file from FTP

#! /bin/sh
REMOTE='127.2.2.2'
USER='usser'
PASSWORD='pass'
FTPLOG='/tmp/log'

date >> $FTPLOG
ftp -in $REMOTE <<_FTP>>$FTPLOG
quote USER $USER
quote PASS $PASSWORD
bin
cd /ftpfolder/source_Extracts # folder path(ftp)
lcd /home/user/souce_files # target folder path(local)
mget *.dat
quit
_FTP