'Download many large files.
@return: L{Deferred}'

def test_ManyLargeDownloads(self):

    d = self._anonymousLogin()
    for size in range(100000, 110000, 500):
        with open(os.path.join(self.directory, ('%d.txt' % (size,))), 'wb') as fObj:
            fObj.write(('x' * size))
        self._download(('RETR    %d.txt' % (size,)), chainDeferred=d)
        def checkDownload(download, size=size):
            self.assertEqual(size, len(download))
        d.addCallback(checkDownload)
    return d
