Thanks for that Mario, will give that a go as that is pretty much the
scenario i am using it right now - connect, do some file op and
disconnect, possibly reconnecting later as a different user ...
Would it be possible though to have a file system option that would
determine if the session
Johan Lindquist wrote:
Would it be possible though to have a file system option that would
determine if the session is to be closed if all files are detached
for example? I have not had a chance to look in detail 'under the
hood' of VFS yet, so i don't know if this is possible.
This is
Yes, sounds good - cause I was just thinking that what if I have two users
concurrently calling the VFS.getManager(), do some operation and then
close the FileSystemManager, there is a chance one of them will get their
session closed half-way through the operation? cleanup would definately
Hi,
I am using the VFS library to connect to a remote SFTP server and it is
working fine but it seems there is a thread hanging in the jsch libraries
(assuming it is the SSH session) ... Even if I call close on the file
objects the thread doesn't stop - is there another way to shut down the
Johan Lindquist wrote:
I am using the VFS library to connect to a remote SFTP server and it
is working fine but it seems there is a thread hanging in the jsch
libraries (assuming it is the SSH session) ... Even if I call close
on the file objects the thread doesn't stop - is there another