On 7 Dic, 10:42, loial <[EMAIL PROTECTED]> wrote:
> Trying to use ftplib.FTP.nlst() method to list the files in
> a directory on a FTP server.
>
> It works fine except when there are no files in the directory. Then it
> gives the error
>
> ftplib.error_perm: 550 No files found.
>
> How can I handl
Trying to use ftplib.FTP.nlst() method to list the files in
a directory on a FTP server.
It works fine except when there are no files in the directory. Then it
gives the error
ftplib.error_perm: 550 No files found.
How can I handle this cleanly?
--
http://mail.python.org/mailman/listinfo/py