ftplib and attributes

Oleg Broytmann phd at phd.pp.ru
Fri Apr 26 04:59:45 EDT 2002


On Fri, Apr 26, 2002 at 10:44:31AM +0200, Daniel Dittmar wrote:
> > hi, im new bie and im trying to use ftplib, but my problem is to get
> > the attributes of the files, how can i do ?
> 
> Although you have to use .dir () as the other posters have written, it is
> important to know that different ftp servers will format the information in
> different ways.

   On the http://py.vaults.ca/parnassus/apyllo.py/126307487 there are few
high-level modules and .dir() parsers.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list