There is always more than one way to skin a cat, as they say...Here's a versatile little ftp script.
# set up variables
LCD="/tmp" # local directory, to put patch
/usr/bin/ftp -v -n >> /tmp/batchftp.log 2>> /tmp/batchftp.err <
user $LOGIN $PASS