commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rory Winston" <rwins...@eircom.net>
Subject Re: [NET] FTP - changing SocketFactory object at runtime after some file transfers
Date Fri, 17 Nov 2006 09:25:59 GMT
Hi Sarath

Can you post your client code?

thanks
Rory

"Jakarta Commons Users List" <commons-user@jakarta.apache.org> wrote:

> 
> ------=_Part_24973_2552562.1163751026688
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> Hi
> I use commons net 141 jars and connect to the FTP Server through proxy. I am
> using java.net.Proxy class and set my own SocketFactory in FTPClient. It
> works fine. But i want to know one thing. Once the connection is established
> and do some file transfers, can I change the SocketFactory object so that I
> can use a different proxy. When I tried that, it fails after I change the
> SocketFactory object and error code is 425. Can anybody comment on this
> please and say if its possible or should I create a new FTPClient object?
> 
> Thanks in Advance
> Sarath K Ambadas
> 
> ------=_Part_24973_2552562.1163751026688--
> 



-----------------------------------------------------------------
Find the home of your dreams with eircom net property
Sign up for email alerts now http://www.eircom.net/propertyalerts



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


Mime
View raw message