Hello all Please consider the following code:
FileSystemManager fsManager = VFS.getManager(); FileObject sftpDir = fsManager.resolveFile("sftp://username:password@host/pub/downloads/"); FileObject child1 = sftpDir.getChild("child1.data"); FileObject child2 = sftpDir.getChild("child2.data"); InputStream s1 = child1.getContent().getInputStream(); InputStream s2 = child2.getContent().getInputStream(); On the Jsch underlying level, were two separated sessions created, or one session and two channels?