urllib.urlretrieve and PASV mode

Thomas Weholt 2002 at weholt.org
Sat Mar 22 11:47:22 CET 2003

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


"Mats Wichmann" <mats at laplaza.org> wrote in message
news:3e7b3eba.90530195 at news.zianet.com...
> Is there a way when using urllib.urlretrieve() to
> use passive mode for ftp transfers?  It looks like
> this is supported in ftplib (set_pasv method),
> but not used by urllib. Unless I'm missing something.
> Mats
> Mats Wichmann

More information about the Python-list mailing list