如题 解决方法: InputStream is = ftp.retrieveFileStream(new String(string.getBytes("gbk"), "ISO-8859-1")); 中文会出现乱码,导致is为null。