@@ -894,13 +894,16 @@ public void enterLocalActiveMode()
894
894
* Set the current data connection mode to
895
895
* <code> PASSIVE_LOCAL_DATA_CONNECTION_MODE </code>. Use this
896
896
* method only for data transfers between the client and server.
897
- * This method causes a PASV command to be issued to the server
897
+ * This method causes a PASV (or EPSV) command to be issued to the server
898
898
* before the opening of every data connection, telling the server to
899
899
* open a data port to which the client will connect to conduct
900
900
* data transfers. The FTPClient will stay in
901
901
* <code> PASSIVE_LOCAL_DATA_CONNECTION_MODE </code> until the
902
902
* mode is changed by calling some other method such as
903
903
* {@link #enterLocalActiveMode enterLocalActiveMode() }
904
+ * <p>
905
+ * <b>N.B.</b> currently calling any connect method will reset the mode to
906
+ * ACTIVE_LOCAL_DATA_CONNECTION_MODE.
904
907
***/
905
908
public void enterLocalPassiveMode ()
906
909
{
@@ -1101,6 +1104,8 @@ public void setActiveExternalIPAddress(String ipAddress) throws UnknownHostExcep
1101
1104
* it again. The default file type is <code> FTP.ASCII_FILE_TYPE </code>
1102
1105
* if this method is never called.
1103
1106
* <p>
1107
+ * <b>N.B.</b> currently calling any connect method will reset the mode to
1108
+ * ACTIVE_LOCAL_DATA_CONNECTION_MODE.
1104
1109
* @param fileType The <code> _FILE_TYPE </code> constant indcating the
1105
1110
* type of file.
1106
1111
* @return True if successfully completed, false if not.
@@ -1137,6 +1142,9 @@ public boolean setFileType(int fileType) throws IOException
1137
1142
* is <code> FTP.NON_PRINT_TEXT_FORMAT </code> if this method is never
1138
1143
* called.
1139
1144
* <p>
1145
+ * <b>N.B.</b> currently calling any connect method will reset the mode to
1146
+ * ACTIVE_LOCAL_DATA_CONNECTION_MODE.
1147
+ * <p>
1140
1148
* @param fileType The <code> _FILE_TYPE </code> constant indcating the
1141
1149
* type of file.
1142
1150
* @param formatOrByteSize The format of the file (one of the
0 commit comments