in reply to URL Redirect
You can run arbitrary commands with system:
system ('curl -s "http://usa.kaspersky.com/files/?file=kis&program=one +&lang=en&track=pu_kiskis_usen" -w %{redirect_url}'); [download]