summaryrefslogtreecommitdiffstats
path: root/Lib/ftplib.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-5/+10
| | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
* make PROTOCOL_SSLv23 the default protocol version for ftplib (closes #23111)Benjamin Peterson2014-12-301-2/+2
|
* don't require OpenSSL SNI to pass hostname to ssl functions (#22921)Benjamin Peterson2014-11-231-4/+2
| | | | Patch by Donald Stufft.
* Issue #20978: pyflakes: fix undefined namesVictor Stinner2014-03-201-1/+0
|
* Issue #19781: ftplib now supports SSLContext.check_hostname and server nameChristian Heimes2013-12-021-2/+6
| | | | indication for TLS/SSL connections.
* Issue #19735: Implement private function ssl._create_stdlib_context() toChristian Heimes2013-11-231-11/+6
| | | | | create SSLContext objects in Python's stdlib module. It provides a single configuration point and makes use of SSLContext.load_default_certs().
* Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read bySerhiy Storchaka2013-10-201-3/+12
|\ | | | | | | | | limiting the call to readline(). Original patch by Michał Jastrzębski and Giampaolo Rodola.
| * Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read bySerhiy Storchaka2013-10-201-5/+18
| | | | | | | | | | limiting the call to readline(). Original patch by Michał Jastrzębski and Giampaolo Rodola.
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-1/+1
| |
* | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-141-1/+1
| | | | | | | | ModuleNotFoundError.
* | ftplib: update connect() docstring by mentioning 'timeout' argumentGiampaolo Rodola'2013-04-261-0/+1
| |
* | (issue 17452 / ftplib) fix TypeError occurring in case ssl module is not ↵Giampaolo Rodola'2013-03-181-4/+4
| | | | | | | | installed
* | Merge 3.3, issue #17047: remove doubled words found in 2.7 toTerry Jan Reedy2013-03-111-2/+2
|\ \ | |/ | | | | 3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
| * Merge 3.2, issue #17047: remove doubled words found in 2.7 toTerry Jan Reedy2013-03-111-2/+2
| |\ | | | | | | | | | 3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
| | * Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,Terry Jan Reedy2013-03-111-2/+2
| | | | | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett.
* | | Refactor ftplib by getting rid of 4 methods (retr*() and stor*()) which were ↵Giampaolo Rodola'2013-03-071-71/+15
| | | | | | | | | | | | duplicated in TLS_FTP class.
* | | PEP8-ify ftplib.py: get rid of multiple statements on one line (if cond: ...)Giampaolo Rodola'2013-03-071-29/+57
| | |
* | | #6623: Add explicit deprecation warning for ftplib.Netrc.R David Murray2013-02-191-0/+3
| | |
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-4/+4
| | |
* | | Issue #16717: get rid of socket.error, replace with OSErrorAndrew Svetlov2012-12-181-4/+4
|/ /
* | Issue 16646 (ftplib): deliberately use intermediate variable after catching ↵Giampaolo Rodola'2012-12-171-1/+2
|\ \ | |/ | | | | exception
| * Issue 16646 (ftplib): deliberately use intermediate variable after catching ↵Giampaolo Rodola'2012-12-171-1/+2
| | | | | | | | exception
* | Fix issue #16646: ftplib.FTP.makeport() might lose socket error details. ↵Giampaolo Rodola'2012-12-171-3/+7
|\ \ | |/ | | | | (patch by Serhiy Storchaka)
| * Fix issue #16646: ftplib.FTP.makeport() might lose socket error details. ↵Giampaolo Rodola'2012-12-171-3/+7
| | | | | | | | (patch by Serhiy Storchaka)
* | fix #13563: make use of with statement in ftplib.py where neededGiampaolo Rodola'2011-12-101-20/+5
| |
* | Cleanup code: remove int/long idioms and simplify a while statement.Florent Xicluna2011-10-231-13/+4
| |
* | Merge: #10883: Fix socket leaks in urllib.request.Nadeem Vawda2011-07-231-25/+31
|\ \ | |/ | | | | | | | | | | | | * ftpwrapper now uses reference counting to ensure that the underlying socket is closed when the ftpwrapper object is no longer in use * ftplib.FTP.ntransfercmd() now closes the socket if an error occurs Initial patch by Victor Stinner.
| * Issue #10883: Fix socket leaks in urllib.request.Nadeem Vawda2011-07-231-25/+31
| | | | | | | | | | | | | | | | * ftpwrapper now uses reference counting to ensure that the underlying socket is closed when the ftpwrapper object is no longer in use * ftplib.FTP.ntransfercmd() now closes the socket if an error occurs Initial patch by Victor Stinner.
* | Issue 12139: add CCC command support to FTP_TLS class to revert the SSL ↵Giampaolo Rodola'2011-06-271-0/+8
| | | | | | | | connection back to clear-text.
* | merge with 3.2Giampaolo Rodola'2011-05-071-1/+11
|\ \ | |/
| * merge with 3.1Giampaolo Rodola'2011-05-071-1/+11
| |\
| | * #12002 - ftplib's abort() method raises TypeErrorGiampaolo Rodola'2011-05-071-1/+2
| | |
* | | Issue #11072: added MLSD command (RFC-3659) support to ftplib.Giampaolo Rodola'2011-05-061-1/+29
| | |
* | | #11515: Merge with 3.2.Ezio Melotti2011-03-151-1/+1
|\ \ \ | |/ /
| * | #11515: Merge with 3.1.Ezio Melotti2011-03-151-1/+1
| |\ \ | | |/
| | * Merged revisions 80228 via svnmerge fromGiampaolo Rodolà2010-04-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r80228 | giampaolo.rodola | 2010-04-20 00:05:54 +0200 (mar, 20 apr 2010) | 9 lines Merged revisions 80226 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r80226 | giampaolo.rodola | 2010-04-19 23:46:28 +0200 (lun, 19 apr 2010) | 1 line Fix Issue #4841: timeout is now applied for connections resulting from PORT/EPRT commands ........ ................
| | * Fix Issue #3817: 225 is now considered a valid response code for ABORGiampaolo Rodolà2010-04-181-1/+1
| | |
* | | Fix issue 8594: adds a source_address parameter to ftplib module.Giampaolo Rodolà2011-02-281-6/+13
| | |
* | | Normalize the encoding names for Latin-1 and UTF-8 toMarc-André Lemburg2011-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'latin-1' and 'utf-8'. These are optimized in the Python Unicode implementation to result in more direct processing, bypassing the codec registry. Also see issue11303.
* | | In FTP.close() method, make sure to also close the socket object, not only ↵Giampaolo Rodolà2011-02-221-3/+3
|/ / | | | | | | the file.
* | fix ftplib resource warningsBenjamin Peterson2010-10-311-0/+1
| |
* | wrap some things in with blocksBenjamin Peterson2010-10-311-38/+33
| |
* | Take advantage of the frozenset constant optimization.Raymond Hettinger2010-09-051-7/+7
| |
* | fix issue 9601: ftplib now provides a workaround for invalid response code ↵Giampaolo Rodolà2010-08-231-2/+10
| | | | | | | | returned on MKD and PWD by non-compliant FTPserver implementations such as ISS shipped with Windows server 2003
* | remove obsolete 'import SOCKS' statementGiampaolo Rodolà2010-08-211-7/+1
| |
* | as per discussion with antoine revert changes made in 83708 as the user ↵Giampaolo Rodolà2010-08-041-19/+6
| | | | | | | | useing ftplib's readline methods is supposed to always use a binary file
* | fix issue #6822: ftplib's storline method doesn't work with text filesGiampaolo Rodolà2010-08-041-6/+19
| |
* | Fix issue #8806: add SSL contexts support to ftplibGiampaolo Rodolà2010-05-261-5/+20
| |
* | Fix issue #4972: adds ftplib.FTP context manager protocolGiampaolo Rodolà2010-05-101-0/+14
| |
* | Merged revisions 80226 via svnmerge fromGiampaolo Rodolà2010-04-191-0/+4
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80226 | giampaolo.rodola | 2010-04-19 23:46:28 +0200 (lun, 19 apr 2010) | 1 line Fix Issue #4841: timeout is now applied for connections resulting from PORT/EPRT commands ........