user2000609 wrote:Yep. I would recommend using JSCH, but that API is seriously lacking in documentation. There is example code in there though, and you can look at the Apache commons-vfs API source which has an SFTP filesystem that uses JSCH. I wouldn't recommend using commons-vfs itself by the way; its not really well designed in my opinion.
I'm using EJB 3.1 and JBOSS 7.1.. Is it possible to create and write a file(CSV) directly to SFTP server?