我正在使用twisted conch编写SFTP客户端程序。我在这个(twisted conch filetransfer)中发现了一个使用twisted conch的FileTransferClient
类的示例。在
此类的openFile
方法返回一个依附于ISFTP服务器的对象。这个接口有写和读的方法:readChunk
和{}。但是从这一步开始,我不知道如何使用这个接口和openFile
对象来执行文件传输。
我在这上面花了一个星期都没有成功。在
你能给我一个使用这个openFile
对象的例子吗?在
Tags:
以下Channel子类缺少适当的错误处理,但它可能会帮助您开始使用:
相关问题 更多 >
编程相关推荐