文件结构 读取文件 第一种方式 public class Test { public static void main(String[] args) throws IOException { // 最好别用FileReader,容易漏读 // 如果是window系统,/需要换成\ FileInputStream in = new FileInputStream("/Users/mac/eclipse-workspace/Demo/src/Test/file.txt"); byte[]
Windows是不支持ssh协议的 需要安装WinSSHD 安装以及设置过程如下: BvSshServer(原名winsshd)官方下载页在这里:https://www.bitvise.com/download-area 下载完成BvSshServer-Inst.exe 接下来我们安装 首先会跳出一个黑框和一个窗口,黑框在安装过程中不用管它. 点击“I agree to accept all the terms of this License Agreement”(同意条款) 点击Install