You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Apache Wiki <wi...@apache.org> on 2012/10/11 11:11:12 UTC

[Commons Wiki] Update of "Net/FrequentlyAskedQuestions" by sebbapache

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.

The "Net/FrequentlyAskedQuestions" page has been changed by sebbapache:
http://wiki.apache.org/commons/Net/FrequentlyAskedQuestions?action=diff&rev1=22&rev2=23

  This document attempts to answer some of the more frequently asked questions regarding various aspects of CommonsNet. These questions are typically asked over and over again on the mailing lists, as a courtesy to the developers, we ask that you read this document before posting to the mailing lists.
+ ----
+ '''Q: How do I debug FTP applications?'''
+ 
+ '''A:''' You can add a protocol command listener; for example:
+ 
+ ftp.addProtocolCommandListener(new PrintCommandListener(new PrintWriter(System.out), true));
+ 
  ----
  '''Q: How can I set a connection timeout?'''
  

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