hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <http-as...@dubioso.net>
Subject Re: can i use HttpClient with http proxy for ftp?
Date Wed, 03 Jan 2007 11:30:13 GMT
Hi,

> so, is there any way to download from ftp with httpclient with this kind of proxy/
> 

That depends entirely on the proxy. HttpClient does not
implement FTP. However, some proxies will automatically
interpret HTTP requests for ftp:// URLs. Such proxies
use FTP to contact the target server, then return the
result as HTTP. If your proxy is of that variety, then
you can use HttpClient. Execute a GET method with the
ftp: URL and see what you get back. If the proxy returns
an error about "unsupported protocol" or anything of
that kind, then it is not of the above-mentioned variety.

hope that helps,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message