$cmd="curl -u $uname:$pwd -O --limit-rate 50K ftp://$host$dir$file"