okay, I removed the if and it STILL fails, I'm confused...
facts to remember:
1. the script was built, edited, and is going to run on a Solaris 10 machine
2. the target ftp box is win2003 server (32 bit)
3. anonymous login works from shell prompt
#!/bin/bash -x
HOST="64.102.94.191"...