Downloading Files from SFTP using jsch
I am using JSCH to download files from SFTP server. I am using single session, with multiple channels to download files from different folders located in SFTP. For this downloading process I have a set of scheduled jobs. Each job will: open a new channel (ChannelSftp) everytime. channel name : sftp uses method ChannelSftp.ls() to get the size of total number of files to download If size(Vector) is greater than zero then uses ChannelSftp.get(remotedir/'*.*', localdir) to download all the files finally closes the opened channel. During the above process most of the times I am getting File Not Fo
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.