I'm afraid I've lost the original question, but seems like a lot of
scripting's going on here.  Can't the objective be accomplished just
by using ncftpput?

R