Author: sebb
Date: Fri Jan 16 19:48:57 2015
New Revision: 1652508

URL: http://svn.apache.org/r1652508
Log:
Clarify what setControlEncoding does

Modified:
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java

Modified: 
commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java
URL: 
http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java?rev=1652508&r1=1652507&r2=1652508&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java 
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java 
Fri Jan 16 19:48:57 2015
@@ -419,10 +419,12 @@ public class FTP extends SocketClient
 
 
     /**
-     * Sets the character encoding used by the FTP control connection.
+     * Saves the character encoding to be used by the FTP control connection.
      * Some FTP servers require that commands be issued in a non-ASCII
      * encoding like UTF-8 so that filenames with multi-byte character
      * representations (e.g, Big 8) can be specified.
+     * <p>
+     * Please note that this has to be set before the connection is 
established.
      *
      * @param encoding The new character encoding for the control connection.
      */


Reply via email to