|
103 | 103 | * <code> FTP.STREAM_TRANSFER_MODE </code>, and
|
104 | 104 | * <code> FTP.FILE_STRUCTURE </code>. The only file types directly supported
|
105 | 105 | * are <code> FTP.ASCII_FILE_TYPE </code> and
|
106 |
| - * <code> FTP.IMAGE_FILE_TYPE </code> (which is the same as |
107 |
| - * <code> FTP.BINARY_FILE_TYPE </code>). Because there are at lest 4 |
| 106 | + * <code> FTP.BINARY_FILE_TYPE </code>. Because there are at least 4 |
108 | 107 | * different EBCDIC encodings, we have opted not to provide direct support
|
109 | 108 | * for EBCDIC. To transfer EBCDIC and other unsupported file types you
|
110 | 109 | * must create your own filter InputStreams and OutputStreams and wrap
|
@@ -954,7 +953,7 @@ public int getDataConnectionMode()
|
954 | 953 |
|
955 | 954 | /***
|
956 | 955 | * Sets the file type to be transferred. This should be one of
|
957 |
| - * <code> FTP.ASCII_FILE_TYPE </code>, <code> FTP.IMAGE_FILE_TYPE </code>, |
| 956 | + * <code> FTP.ASCII_FILE_TYPE </code>, <code> FTP.BINARY_FILE_TYPE</code>, |
958 | 957 | * etc. The file type only needs to be set when you want to change the
|
959 | 958 | * type. After changing it, the new type stays in effect until you change
|
960 | 959 | * it again. The default file type is <code> FTP.ASCII_FILE_TYPE </code>
|
@@ -986,7 +985,7 @@ public boolean setFileType(int fileType) throws IOException
|
986 | 985 | /***
|
987 | 986 | * Sets the file type to be transferred and the format. The type should be
|
988 | 987 | * one of <code> FTP.ASCII_FILE_TYPE </code>,
|
989 |
| - * <code> FTP.IMAGE_FILE_TYPE </code>, etc. The file type only needs to |
| 988 | + * <code> FTP.BINARY_FILE_TYPE </code>, etc. The file type only needs to |
990 | 989 | * be set when you want to change the type. After changing it, the new
|
991 | 990 | * type stays in effect until you change it again. The default file type
|
992 | 991 | * is <code> FTP.ASCII_FILE_TYPE </code> if this method is never called.
|
|
0 commit comments