Look at the curl wrappers of libcurl, like WWW::Curl.
In reply to Re: File transfer abstractor? by ambrus in thread File transfer abstractor? by suaveant