Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
每当我尝试复制大于 2GB 的文件时,都会在 Get 方法中得到数组索引越界异常:
Scp myScp = new Scp("remotehost", "joe", "mypassword"); myScp.OnTransferProgress += new FileTransferEvent(scpProg); myScp.Connect(22); myScp.Get("/home/joe/bigfile.bin", "/tmp/bigfile.bin"); myScp.Close();
...我通过修补 SharpSSH 在战略位置用 Int64 替换 int 解决了这个问题。这是补丁。