Path: csiph.com!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: apache ftpclient library Date: Fri, 8 Jul 2016 20:06:26 -0400 Organization: Aioe.org NNTP Server Lines: 28 Message-ID: References: <6aefa617-9ebd-4bdd-bc2d-32182e5cfa1d@googlegroups.com> <18b02a5e-3a10-4ad6-bf8d-c23a193f6765@googlegroups.com> NNTP-Posting-Host: 7SK6yTFfqwlIPNBLl3l7Qg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:34811 On 7/8/2016 7:58 AM, Eric Douglas wrote: > On Thursday, July 7, 2016 at 7:58:45 PM UTC-4, Arne Vajhøj wrote: >>> come out form the console, how can i hide all message from ftp server? >> >> Are you sure about that? I do not remember ever having seen such. >> >> Can you provide an example? > > You mean like the 2 second Google? > https://svn.apache.org/repos/asf/commons/proper/net/tags/NET_2_2/src/main/java/examples/ftp/FTPSExample.java No. An example showing the specific problem OP has. Also known as an SSCCE. The example you found actually do echo both input to output from server. But that is not surprising given the line: ftps.addProtocolCommandListener(new PrintCommandListener(new PrintWriter(System.out))); You think that is OP's problem? Arne