How can I send file from local directory to sftp using spring? -
i want transfer local file on sftp using java spring.
how can this? please provide example if possible.
you can refer example @ https://github.com/spring-projects/spring-integration-samples/tree/master/basic/sftp
this has basic example for
1.transfers files remote local directory
2.transfers files local remote directory
3.interact remote sftp server commands
note : first functionality achieved via polling concept
also spring sftp integration adapter documentation available @ - http://docs.spring.io/spring-integration/reference/html/sftp.html
Comments
Post a Comment