Affects Version/s: 3.0.1
Fix Version/s: 3.1
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
Linux cattie 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
I know that FTPHTTPClient is experimental, but - I have discovered 2 bugs in it:
- response from proxy is taken only if username and password are set
- username and response are not correctly provided to Base64.encode() method
I will attach a patch with proposed fix, feel free to apply it if you think it's correct.
One more note: I'm not expert in this area so sorry if this question is nonsense but - shouldn't it be possible to connect to the encrypted FTP over HTTP proxy as well? Or am I completely wrong and this can't be ever possible.