How can I recursively copy a folder from Windows to remote linux server using jsch sftp?
I have already tried using sftpchannel.put(src,dest) but it transfers only files. I also tried iterating over the file list to look for a directory and running a recursive loop but it made the code all the more complicated with additional exception handling. Is their any other way to do this?
Is their any way to use something like rsync between windows and linux machines using Java code?