in reply to POST to remote cgi from within local perl file?
Your field values are not being interpolated from the variables. Try:
name => $name, [download]
After Compline,Zaxo