The script must run as ksh since you are
using ksh built-in's (print) and capabilities.
I would set up a new user to run this as.
You may have problems logging in as root
via ftp on the remote unless you have configured
the remote to allow this (I try to avoid using
root where ever possible).
Check out the "tee" command to set up a
" | mail
someuser@somehost.com"
The "wait" will wait for the child(s) to
complete.