quick note on ftplib for python

Hello, Quick note, ftplib gives example host ftp.cwi.nl In its documentation which is a url which is no longer active. when you try the dummy example, ftplib doesn't really output a clear error so it might be worth updating the host, (though most programmers should assume this quickly), Python 2.7 > documentation for ftplib which introduced the feature FTP_TLS gives the examplehost ftp.python.org which is possibly the ideal candidate for the change. Not really a bug, thought id save you the trouble by reporting just incase, it was something worth changing. Cheers

New submission from Georg Brandl: ftp.python.org doesn't seem to listen on port 21 either... anyone know a public FTP server we can use as example? -------- Original-Nachricht -------- Betreff: [docs] quick note on ftplib for python Datum: Tue, 8 Jan 2013 16:17:14 +1100 Von: Jeremy Orchard <jeremy@gravitymarketing.com.au> An: <docs@python.org> Hello, Quick note, ftplib gives example host ftp.cwi.nl In its documentation which is a url which is no longer active… when you try the dummy example, ftplib doesn’t really output a clear error so it might be worth updating the host, (though most programmers should assume this quickly), Python 2.7 > documentation for ftplib which introduced the feature FTP_TLS gives the examplehost ftp.python.org <ftp://ftp.python.org> which is possibly the ideal candidate for the change. Not really a bug, thought id save you the trouble by reporting just incase, it was something worth changing. ---------- assignee: docs@python components: Documentation messages: 199070 nosy: docs@python, georg.brandl priority: normal severity: normal status: open title: ftp.cwi.nl used as example does not exist anymore _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19181> _______________________________________

Antoine Pitrou added the comment: ftp://ftp.ietf.org/ ? ftp://ftp.debian.org/ ? ---------- nosy: +pitrou _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19181> _______________________________________

Roundup Robot added the comment: New changeset d41aab121366 by Georg Brandl in branch '3.3': Closes #19181: replace non-existing host ftp.cwi.nl with ftp.debian.org in ftplib example. http://hg.python.org/cpython/rev/d41aab121366 ---------- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19181> _______________________________________

Roundup Robot added the comment: New changeset 635e6239aa8e by Georg Brandl in branch '2.7': Closes #19181: replace non-existing host ftp.cwi.nl with ftp.debian.org in ftplib example. http://hg.python.org/cpython/rev/635e6239aa8e ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19181> _______________________________________

New submission from Georg Brandl: ftp.python.org doesn't seem to listen on port 21 either... anyone know a public FTP server we can use as example? -------- Original-Nachricht -------- Betreff: [docs] quick note on ftplib for python Datum: Tue, 8 Jan 2013 16:17:14 +1100 Von: Jeremy Orchard <jeremy@gravitymarketing.com.au> An: <docs@python.org> Hello, Quick note, ftplib gives example host ftp.cwi.nl In its documentation which is a url which is no longer active… when you try the dummy example, ftplib doesn’t really output a clear error so it might be worth updating the host, (though most programmers should assume this quickly), Python 2.7 > documentation for ftplib which introduced the feature FTP_TLS gives the examplehost ftp.python.org <ftp://ftp.python.org> which is possibly the ideal candidate for the change. Not really a bug, thought id save you the trouble by reporting just incase, it was something worth changing. ---------- assignee: docs@python components: Documentation messages: 199070 nosy: docs@python, georg.brandl priority: normal severity: normal status: open title: ftp.cwi.nl used as example does not exist anymore _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19181> _______________________________________

Antoine Pitrou added the comment: ftp://ftp.ietf.org/ ? ftp://ftp.debian.org/ ? ---------- nosy: +pitrou _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19181> _______________________________________

Roundup Robot added the comment: New changeset d41aab121366 by Georg Brandl in branch '3.3': Closes #19181: replace non-existing host ftp.cwi.nl with ftp.debian.org in ftplib example. http://hg.python.org/cpython/rev/d41aab121366 ---------- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19181> _______________________________________

Roundup Robot added the comment: New changeset 635e6239aa8e by Georg Brandl in branch '2.7': Closes #19181: replace non-existing host ftp.cwi.nl with ftp.debian.org in ftplib example. http://hg.python.org/cpython/rev/635e6239aa8e ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19181> _______________________________________
participants (4)
-
Antoine Pitrou
-
Georg Brandl
-
Jeremy Orchard
-
Roundup Robot