I am trying to understand a ftp script. Does this mean that the output of 1 is being directed to 2 and does this mean that if no file is retrieve from the FTP session the script ends with status 16?
ftp -i -n -v 2>$ftp_message_file 1>&2 <<EOF
user $USER $PASS
get $FILE $FILE
del $FILE $FILE
if [ $# -ne 2 ]
echo "$BASENAME: usage $BASENAME <file_to_transfer> <directory>"
echo "$BASENAME called with invalid number of parameters"
echo "Processing Abnormally Terminated"
Thanks for the assistance