Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-httpclient 
Wiki" for change notification.

The following page has been changed by RolandWeber:
http://wiki.apache.org/jakarta-httpclient/UseCases/FTPviaProxy

New page:
= Use Case: FTP via Proxy =

== Description ==

I have an HTTP proxy that can handle ftp: URLs.
I want to send HTTP requests for ftp: URLs to that proxy.


== Background ==

[http://mail-archives.apache.org/mod_mbox/jakarta-httpclient-user/200512.mbox/[EMAIL
 PROTECTED] Contributed]
by Harm de Laat on the user mailing list.
See also [http://issues.apache.org/bugzilla/show_bug.cgi?id=37988 bug 37988] 
for HttpClient 3.x


= Discussion =

HttpClient can not handle ftp: URLs directly, but must be able to send them to 
the proxy anyway.
For 3.x, this requires registering the ftp protocol along with a protocol 
socket factory
(see 
[http://mail-archives.apache.org/mod_mbox/jakarta-httpclient-user/200512.mbox/[EMAIL
 PROTECTED]  original mail]).
The same applies for other non-HTTP protocols that may be handled by a proxy, 
such as gopher:.

URLs may include authentication information required by the proxy, such as 
uid:pwd for the FTP server.
HttpClient used to strip authentication information from URLs, because it is 
not required as long as
authentication is handled by HttpClient directly.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to