xml-importer fix sftp path
This commit is contained in:
parent
50a67133ef
commit
82ec3869db
1 changed files with 2 additions and 0 deletions
|
|
@ -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));
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue