'Store a file at the given path.
This method issues the \'STOR\' FTP command.
@return: A tuple of two L{Deferred}s:
- L{Deferred} L{IFinishableConsumer}. You must call
the C{finish} method on the IFinishableConsumer when the file
is completely transferred.
- L{Deferred} list of control-connection responses.'

def storeFile(self, path, offset=0):

    cmds = [('STOR    ' + self.escapePath(path))]
    if offset:
        cmds.insert(0, ('REST    ' + str(offset)))
    return self.sendToConnection(cmds)
