commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Juan Montiel <josejuan.mont...@gmail.com>
Subject [net] FTPS or...
Date Mon, 16 Jan 2006 15:00:39 GMT
...why in org.apache.commons.net.ftp.FTP the variables

BufferedReader _controlInput;
BufferedWriter _controlOutput;

aren't declare protected?

Hi everybody, i'm newbee in this list, and i'm trying to impliments
SSL-FTPS over Java 1.3.1, using http://sourceforge.net/projects/ufsc
implementation of FTPS, with some minor modification to adapt 1.3 and
solve some fix with PASV transfer (modification and fix, that i
comunicate to the author), but the problem i find, was i couldn't
implement FTPSClient in diferent package of org.apache.commons.net.ftp
because, this variables, that UFSC use, to implement securety
connection to SSLSocket

this._controlInput = new BufferedReader(new
InputStreamReader(socket.getInputStream(), getControlEncoding()));
this._controlOutput = new BufferedWriter(new
OutputStreamWriter(socket.getOutputStream(), getControlEncoding()));

haven't a getter... and its visibility is to the package....

Then, i have to create FTPClient and FTP, and extends FTPSClient, from
my own FTPClient, to make it in a difetent pakage...

Could devoloper make getter for this properties or protected, for
simplify the extension of api?

Thanks for all...

--
The whole purpose of places like Starbucks is
for people with no decision-making ability
whatsoever to make six decisions just to buy
one cup of coffee. Short, tall, light, dark, caf,
decaf, low-fat, non-fat, etc. So people who
don't know what the hell they're doing or who
on earth they are can, for only $2.95, get not
just a cup of coffee but an absolutely defining
sense of self: Tall. Decaf. Cappuccino.

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


Mime
View raw message