代码如下:InputStream is = new ByteArrayInputStream(xmlString.getBytes("utf-8"));FtpApache.upload(ip, port, userName, password, path, fileName, is, business.getFtpCharset());
it's ok,suitable