commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From commons-...@jakarta.apache.org
Subject [Jakarta Commons Wiki] Updated: Net/FrequentlyAskedQuestions
Date Thu, 09 Sep 2004 18:26:14 GMT
   Date: 2004-09-09T11:26:14
   Editor: RoryWinston <rwinston@eircom.net>
   Wiki: Jakarta Commons Wiki
   Page: Net/FrequentlyAskedQuestions
   URL: http://wiki.apache.org/jakarta-commons/Net/FrequentlyAskedQuestions

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -14,22 +14,22 @@
 '''Q: How do I get passive mode correctly started?'''
 
 '''A:''' Passive mode has to be established each time you connect to an FTP server.
-After you connect to a server with <code>FTPClient.connect()</code>, you can
call
-<code>FTPClient.enterLocalPassiveMode()</code> to enable passive mode.  From
then
+After you connect to a server with {{{FTPClient.connect()}}}, you can call
+{{{FTPClient.enterLocalPassiveMode()}}} to enable passive mode.  From then
 on, FTPClient will take care of issuing a PASV command each time it opens a data 
 connection until you change the data connection mode by calling
-<code>enterLocalActiveMode()</code> or you close the connection.  If you call

-<code>enterLocalPassiveMode</code> before connecting to a server, the data
+{{{enterLocalActiveMode()}}} or you close the connection.  If you call 
+{{{enterLocalPassiveMode}}} before connecting to a server, the data
 connection mode will be reset to the default active mode upon initial connection
 establishment.  If you always want to use passive mode and don't want to call 
-<code>enterLocalPassiveMode</code> all the time, you can subclass FTPClient and
override 
-<code>_connectAction_()</code> like so:
-<pre>
+{{{enterLocalPassiveMode}}} all the time, you can subclass FTPClient and override 
+{{{_connectAction_()}}} like so:
+{{{
 protected void _connectAction_() throws IOException {
   super._connectAction_();
   enterLocalPassiveMode();
 }
-</pre>
+}}}
 ----
 '''Q: Using the NNTPClient, retrieving a list of headers takes forever. Why is that?'''
 

---------------------------------------------------------------------
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