从远程(包括ftp,http等协议)地址获取文件流信息
URL url = new URL("ftp://172.18.251.155:8010/recordsImg/2019-01-28/000008_1548649813267.jpg");
MultipartFile multipartFile = new MockMultipartFile(fileName,fileName,"", url.openStream());
URL url = new URL("ftp://172.18.251.155:8010/recordsImg/2019-01-28/000008_1548649813267.jpg");
MultipartFile multipartFile = new MockMultipartFile(fileName,fileName,"", url.openStream());