"alper soyler" wrote: > directory = 'pub/kegg/genomes' > ftp.cwd(directory)
> ftplib.error_perm: 550 pub/kegg/genomes/aae: No such file or directory
> However, in ftp.genome.jp/pub/kegg/genomes/ site, there is 'aae' directory.
> What can be the reason?
try doing the cwd in pieces:
for d in directory.split("/"):
ftp.cwd(d)
</F>
--
http://mail.python.org/mailman/listinfo/python-list
