urllib.urlretrieve and PASV mode

Mats Wichmann mats at laplaza.org
Sat Mar 22 14:28:39 CET 2003

On Sat, 22 Mar 2003 11:47:22 +0100, "Thomas Weholt" <2002 at weholt.org>

:As far as I know, passive mode is ftp-specific. Urllib is used to
:files served over http and passive mode is not relevant to that
:Correct me if I'm wrong.

urllib uses http if it looks like an http resource, and ftp (by
importing ftplib) if it looks like an ftp resource.

Mats Wichmann

More information about the Python-list mailing list