How to transfer binary file in SFTP?
问题 How to transfer binary file in SFTP? Will it be same as normal file? Or is there any different process? 回答1: A binary file is a normal file. You are possibly referring to a text/ascii vs. a binary transfer mode, known from an FTP protocol. The FTP protocol defaults to the text/ascii mode, so one usually had to ensure that the mode was switched to the binary not to corrupt the transferred binary files. SFTP protocol also supports a text/ascii vs. binary mode distinction in its newer versions.