'Send the termination sequence.
@type lastsent: L{bytes}
@param lastsent: The last character of the file.'

def finishedFileTransfer(self, lastsent):

    if (lastsent != '\n'):
        line = '\r\n.'
    else:
        line = '.'
    self.sendLine(line)
