Steve Holden wrote:
> snowf wrote:
> > There are no such a method using to download a whole directory in the
> > lib of ' ftplib '.
> > thanks for anybody's help!
> >
> If your Python distrbution contains a "Tools" directory you should look
> for the "ftpmirror.py" utility in it. If you don't h
snowf wrote:
> There are no such a method using to download a whole directory in the
> lib of ' ftplib '.
> thanks for anybody's help!
>
If your Python distrbution contains a "Tools" directory you should look
for the "ftpmirror.py" utility in it. If you don't have Tools then you
can extract t
John Machin wrote:
> snowf wrote:
> > There are no such a method using to download a whole directory in the
> > lib of ' ftplib '.
> > thanks for anybody's help!
>
> So you'll have to lash one up:
>
> (untested)
>
> Firstly,
> alist = []
> ftpobj.retrlines('list', alist.append)
> should
snowf wrote:
> There are no such a method using to download a whole directory in the
> lib of ' ftplib '.
> thanks for anybody's help!
So you'll have to lash one up:
(untested)
Firstly,
alist = []
ftpobj.retrlines('list', alist.append)
should get you a list of filenames.
Secondly,
There are no such a method using to download a whole directory in the
lib of ' ftplib '.
thanks for anybody's help!
--
http://mail.python.org/mailman/listinfo/python-list