Hi there,
I created a class that can copy files from one server to another.
Currently for every copy job a new SFTP session gets created which is
safe in the case of leaving opened sessions. Creating a session takes
between 20 - 60 seconds so copying 20 files takes far too long... Are
that normal session creation times so I really have to use one session
at all or is that somehow an not normal behavior? What could be the
reason for so long time? Can I make it faster?
When i switch to use always the same session what would be the best way to make sure the session gets closed no matter if the java process exits with an exception?
looking forward to any reply
greets
Timmy
--
You received this message because you are subscribed to the Google Groups "sshj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sshj-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.