javaapache-camelsftpjsch

How does Apache Camel support ASCII mode file transfer with SFTP?


Apache Camel SFTP implementation uses JSch. But JSch supports only binary file transfer, as I understand from this link:
How to set file type and file transfer mode in JSch?

Then how does Camel SFTP support binary as an URI parameter?
https://camel.apache.org/components/latest/sftp-component.html

Is my understanding wrong?


Solution

  • The documentation is most likely false.