Hi,
I am using JSch v0.1.50 for following three functions-
(1) Copy file from local to remote machine
(2) Copy file from remote to local machine
(3) Execute command on remote machine
I am following ScpTo.java
(http://www.jcraft.com/jsch/examples/ScpTo.java.html), ScpFrom.java
(http://www.jcraft.com/jsch/examples/ScpFrom.java.html) and Exec.java
(http://www.jcraft.com/jsch/examples/Exec.java.html) respectively for above
functionalities.
In my implementation, I have com.jcraft.jsch.Session object as a class variable
which is being reused every time. I have following two questions-
(1) Why Exec.java has an an implicit sleep (line no. 84)? Can I remove/reduce
this sleep?
(2) What are the ways to speed up JSch in these scenarios?
-
Thanks
Ravi
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users