'Try to make an STOR as anonymous, and check that we got a permission
denied error.'

def test_anonymousSTOR(self):

    def eb(res):
        res.trap(ftp.CommandFailed)
        self.assertEqual(res.value.args[0][0], '550    foo:    Permission    denied.')
    (d1, d2) = self.client.storeFile('foo')
    d2.addErrback(eb)
    return defer.gatherResults([d1, d2])
