add ftp read method -- java version