You have said that the SFTP protocol hasn't defined/supported ASCII transfer mode. I have researched the different protocol versions and in fact found that there is ASCII mode supported since version 4 of the SFTP protocol. You can see it for yourself here:
Hi Atsuhiko,
In a recent message thread here:
https://sourceforge.net/mailarchive/forum.php?thread_name=OF5CB5BF03.C7B07CA7-ON8525746A.00677A17-8525746A.00681A45%40aholdusa.com&forum_name=jsch-users
You have said that the SFTP protocol hasn't defined/supported ASCII transfer mode. I have researched the different protocol versions and in fact found that there is ASCII mode supported since version 4 of the SFTP protocol. You can see it for yourself here:
http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04
Search for "SSH_FXF_TEXT" and you will see it for yourself.
I will be happy to hear your opinion. Would you consider a support for protocol version 4 in the near future?
Regards,
Ivan
p.s.
Btw Thank you very much for the great library.