Have a look at Apache Camel, it makes it very easy to do so: https://camel.apache.org/ftp.html
Read remote file line by line using SCH in java
Question
Is there a way to read a remote file line by line using SFTP in java? I have done a little research and as far as i can see, it is possible to read remote file data by bytes using the commons VFS API by Apache.
Pas de solution correcte
Autres conseils
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow