commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel F. Savarese" <>
Subject Re: [commons ftp] help! FTPClient.isConnected() does not work.
Date Wed, 01 Nov 2006 00:12:59 GMT

In message <>, Rory Winston writes:
>Not without the source. If you have the source and are willing to make a 
>change, then you can access the SocketClient's underlying _socket_ 
>variable directly.
>Anil Philip wrote:
>> Is it possible for me to access that call directly?
>> (So that my code will work)
>> thanks,

It's a protected variable.  You should be able to subclass FTPClient and
override isConnected with your own implementation that uses the
JDK 1.4 API call.


-#-#-#-#-| Sleep and The Traveller |-#-#-#-#-#-#-#-
In distant lands, I hear the call of my home.     #     s a v a r e s e
Yet my work is not done.  My journey's just begun.-    software research
 --          #

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message