diff --git a/src/main/java/au/com/royalpay/payment/manage/system/core/impl/TradeSecureServiceHanyinImpl.java b/src/main/java/au/com/royalpay/payment/manage/system/core/impl/TradeSecureServiceHanyinImpl.java index d686ddf7d..274c9ce2c 100644 --- a/src/main/java/au/com/royalpay/payment/manage/system/core/impl/TradeSecureServiceHanyinImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/system/core/impl/TradeSecureServiceHanyinImpl.java @@ -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) {