ftp in non-prompt


ftp -n hostname port <<!
quote USER $UNAME
quote PASS $PASSWD
binary
cd 123456
get 123456.zip
bye
!