摘要:
上传方式1: // 保存上传的文件 public boolean saveFile(File file, String fileName) throws IOException { File newFile = new File(this.UFILE_ROOT_PATH); if (!newFile.exists()) newFile.mkdirs(); newFile = new File(this.UFILE_ROOT_PATH, fileName); FileOutputStream os = null; FileInputStream is = null; try ... 阅读全文