finally I found time to reply to you.
Replace with this
[ ! -d $BAK ] && mkdir -p $BAK
instead of "[ ! -d $BAK ] && mkdir -p $BAK || /bin/rm -f $BAK/* "
and you will have multiple files with date&time stamp in your "BAK="/home/foldername
and don't forget to close "
(<-- like this) as your code is missing closing quote "
If you don't want to FTP the files then comment out:
# ncftp -u "$FTPU" -p "$FTPP" $FTPS<<EOF
# mkdir $NOW
# cd $NOW
# lcd $BAK
# mput *