master
yixian 6 years ago
parent dd4e03e7f2
commit 444cc0427e

@ -74,7 +74,7 @@ public class TradeSecureServiceHanyinImpl implements TradeSecureService {
logger.debug("mk dir:{}", dir);
command.mkdir(dir);
}
String dest = dir + file.filename();
String dest = dir + "/"+ file.filename();
logger.debug("find dir, start uploading file:{}", dest);
command.put(new ByteArrayInputStream(file.content()), dest);
} catch (IOException | JSchException | SftpException e) {

Loading…
Cancel
Save