question: public String list ( String dir ) throws IOException { passive ( ) ; send ( "LIST " + dir ) ; readCode ( 150 ) ; ByteArrayOutputStream out = new ByteArrayOutputStream ( ) ; IOUtils . copyAndClose ( inData , out ) ; readCode ( 226 ) ; byte [ ] data = out . toByteArray ( ) ; return new String ( data ) ; }
target:  Get the directory listing (LIST).