xml-importer fix sftp path

This commit is contained in:
akulikov 2024-12-03 12:59:54 +03:00
parent 50a67133ef
commit 82ec3869db

View file

@ -106,6 +106,7 @@ public class FileChecker {
gatewaySdf.ifPresent(gateway -> {
for (String path : settings.getStore().getSftpIn().getSftpSrcPayValDir().values()) {
if (!path.endsWith("/")) path += "/";
files.addAll(gateway.listFiles(path));
}
});
@ -118,6 +119,7 @@ public class FileChecker {
gatewayLks.ifPresent(gateway -> {
for (String path : settings.getStoreLks().getSftpIn().getSftpSrcPayValDir().values()) {
if (!path.endsWith("/")) path += "/";
files.addAll(gateway.listFiles(path));
}
});