سؤال

I am using jsch-0.1.50.jar lib for sftp to Upload and Download and they already work fine but i need to control the terminal mode as bin and ascii mode. How can I set this terminal mode?

هل كانت مفيدة؟

المحلول

Jsch does not support ascii transfers. If you want to convert between different text file types, you will have to do it programatically. If it is a unix/windows issue, check out this article How to convert files from Dos to Unix

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top