diff --git a/app/src/main/java/com/amaze/filemanager/filesystem/HybridFile.java b/app/src/main/java/com/amaze/filemanager/filesystem/HybridFile.java index a8bcfb18bd..cb2de5723d 100644 --- a/app/src/main/java/com/amaze/filemanager/filesystem/HybridFile.java +++ b/app/src/main/java/com/amaze/filemanager/filesystem/HybridFile.java @@ -148,7 +148,6 @@ public HybridFile(OpenMode mode, String path) { this.mode = mode; sanitizePathAsNecessary(); } - public HybridFile(OpenMode mode, String path, String name, boolean isDirectory) { this(mode, path); this.name = name; @@ -960,7 +959,7 @@ public void forEachChildrenFile(Context context, boolean isRoot, OnFileFound onF switch (mode) { case SFTP: SshClientUtils.execute( - new SFtpClientTemplate(getPath(), true) { + new SFtpClientTemplate(getPath(), false) { @Override public Boolean execute(@NonNull SFTPClient client) { try {