[MERGE][bug #215522] ftp server returns 450 temp error on nlst

John Arbash Meinel john at arbash-meinel.com
Mon Apr 21 20:11:04 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to bug #215522 we have an FTP server that returns a temporary
error when there are no files in a directory, rather than returning an
empty list.

This patch just traps that error, and returns an empty list.

No tests, as we generally don't have tests for FTP server specific
patches. (Theoretically we should be creating a fake FTP server that can
return all the crazy error codes that we've been seeing, and make sure
that we handle them correctly. But that hasn't been our pattern.)

John
=:->

PS> I'm still waiting to hear that this patch does indeed fix the error
he was seeing. But so far I don't see any reason why it shouldn't.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIDObHJdeBCYSNAAMRApOFAJ4kaJWlZ3fhJcFr71k3Hf5hL2q0BwCgl7Yp
svVJytYEo0AYqlb3Dd5gZGo=
=tudY
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ftp_215522.patch
Type: text/x-diff
Size: 5084 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080421/3e9fa9ae/attachment.bin 


More information about the bazaar mailing list