Hints about a script that read ftp contents ....
conatic
fa507874 at skynet.be
Sun Aug 10 17:23:01 EDT 2003
Is there a way to check if it is a directory or a file ?
I 'd like to build a function to make a walk-into in the
directories but I need a way to know if it is a direcyory or a file.
Could you give me any hints ?
Conatic
On Wed, 06 Aug 2003 23:45:44 +0200, conatic wrote:
>
> I have read ftpmirror.py but I can' manage to do what I want : I'd like
> a script that read ftp directories recursively (ident if a file or a
> directory) and puts all pdf's documents in a list.
>
> Has anyone could give me an example of a function that read contents and
> make the difference between files and directory.
>
> Thanks for reading.
>
> Conatic
More information about the Python-list
mailing list