Hints about a script that read ftp contents ....

conatic fa507874 at skynet.be
Mon Aug 11 17:57:06 CEST 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 directory or a file.

Could you give me any hints ?

Conatic



On Thu, 07 Aug 2003 18:31:47 +0100, simon place wrote:

> another idea
> 
> the distribution included module 'ftputil' has a walk function to move through 
> a ftp directory structure and apply a function to the directory/file name.





More information about the Python-list mailing list