Implements interfaces: twisted.conch.interfaces.ISFTPFile

An ISFTPFile which handles all data in memory.

Method __init__
Method writeChunk
Method close
Method getvalue Get current data of file.
def __init__(self, name):
ParametersnameName of this file. (type: str)
def writeChunk(self, start, data):
def close(self):
See AlsoISFTPFile.writeChunk

Keeps data after file was closed to help with testing.

def getvalue(self):

Get current data of file.

Allow reading data event when file is closed.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.