master
yixian 6 years ago
parent f6eff7bb2e
commit b4544295a8

@ -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