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