I am working to program a SFTP client using twisted conch. I have found an example using the FileTransferClient class of twisted conch in this (twisted conch filetransfer).
The openFile method of this class return an Object that adheres to ISFTP server. This interface has methods to write and read: readChunk and writeChunk. But from this step I do not know how to use this interface and the openFile object to perform the file transfer.
I spent a week on this without success.
Can you give me an example using this openFile object?
The following Channel subclass is lacking appropriate error handling but it may serve to get you started: