'Verify sufficient space is available on destination file system (return boolean).'

def verify_space_available(self, search_pattern=u'bytes    total    \\((.*)    bytes    free\\)'):

    if (self.direction == u'put'):
        space_avail = self.remote_space_available(search_pattern=search_pattern)
    elif (self.direction == u'get'):
        space_avail = self.local_space_available()
    if (space_avail > self.file_size):
        return True
    return False
