There is no such command in JSCH because there is no respective command in
ssh. You need to loop over the files in your code. (Beware of things you
cannot detect in java, such as filesystem links, which might even be
recursive.)

 

Regards,

  Steffen

 

 

Von: Sankar R [mailto:[email protected]] 
Gesendet: Donnerstag, 24. Juni 2010 06:18
An: [email protected]
Betreff: [JSch-users] How to do Folder copy in JSCH

 

Hi all,
   I am new to JSCH, I found examples to do single file copy, in JSCH how to
do a folder copy? In my project i have to copy a folder of around 2GB to a
remote linux device.

Thanks
Sankar R

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to