Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read by | Serhiy Storchaka | 2013-10-20 | 1 | -6/+21 |
| | | | | | limiting the call to readline(). Original patch by Michał Jastrzębski and Giampaolo Rodola. | ||||
* | Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*, | Terry Jan Reedy | 2013-03-11 | 1 | -2/+2 |
| | | | | as reported by Serhiy Storchaka and Matthew Barnett. | ||||
* | Fix issue #16646: ftplib.FTP.makeport() might lose socket error details. ↵ | Giampaolo Rodola' | 2012-12-17 | 1 | -4/+7 |
| | | | | (patch by Serhiy Storchaka) | ||||
* | Issue #10883: Fix socket leaks in urllib.request. | Nadeem Vawda | 2011-07-23 | 1 | -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. | ||||
* | Fix closes issue1067702 The problem with close multiple ftp transfers were ↵ | Senthil Kumaran | 2011-06-26 | 1 | -3/+4 |
| | | | | due cases where sockets/file were not closed immediately. Tightned those cases and failure is no longer observed. | ||||
* | #11515: fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-15 | 1 | -1/+1 |
| | |||||
* | Fix Issue #4841: timeout is now applied for connections resulting from ↵ | Giampaolo Rodolà | 2010-04-19 | 1 | -0/+4 |
| | | | | PORT/EPRT commands | ||||
* | Fix Issue #3817: 225 is now considered a valid response code for ABOR | Giampaolo Rodolà | 2010-04-18 | 1 | -1/+1 |
| | |||||
* | Issue #6845: Add restart support for binary upload in ftplib. The | Antoine Pitrou | 2009-11-27 | 1 | -4/+5 |
| | | | | | | | `storbinary()` method of FTP and FTP_TLS objects gains an optional `rest` argument. Patch by Pablo Mouzo. (note: the patch also adds a test for the rest argument in retrbinary()) | ||||
* | Issue #2054: ftplib now provides an FTP_TLS class to do secure FTP using | Antoine Pitrou | 2009-11-15 | 1 | -0/+176 |
| | | | | TLS or SSL. Patch by Giampaolo Rodola'. | ||||
* | #1726172: dont raise an unexpected IndexError if a voidresp() call has an ↵ | Georg Brandl | 2009-04-05 | 1 | -3/+1 |
| | | | | empty response. | ||||
* | backport r66656 so people using -Qnew aren't affected | Benjamin Peterson | 2008-09-27 | 1 | -1/+1 |
| | |||||
* | Fixed the semantic of timeout for socket.create_connection and | Facundo Batista | 2008-05-29 | 1 | -4/+5 |
| | | | | | | all the upper level libraries that use it, including urllib2. Added and fixed some tests, and changed docs correspondingly. Thanks to John J Lee for the patch and the pusing, :) | ||||
* | socket.error inherits from IOError, it no longer needs listing in | Gregory P. Smith | 2008-04-12 | 1 | -1/+1 |
| | | | | the all_errors tuple. | ||||
* | docstring and comment updates suggested by Giampaolo Rodola' | Gregory P. Smith | 2008-01-22 | 1 | -3/+3 |
| | |||||
* | accepts and closes issue #1221598: adds an optional callback to ftplib.FTP | Gregory P. Smith | 2008-01-22 | 1 | -17/+52 |
| | | | | storbinary() and storlines() methods. | ||||
* | FTP.ntransfercmd method now uses create_connection when passive, | Facundo Batista | 2007-06-06 | 1 | -3/+1 |
| | | | | using the timeout received in connection time. | ||||
* | Whitespace normalization. Ugh, we really need to do this more often. | Neal Norwitz | 2007-04-25 | 1 | -2/+2 |
| | | | | You might want to review this change as it's my first time. Be gentle. :-) | ||||
* | Added the posibility to pass the timeout to FTP.connect, not only when | Facundo Batista | 2007-03-30 | 1 | -1/+3 |
| | | | | instantiating the class. Docs and tests are updated. | ||||
* | Forgot to add the file before the previous commit, here go | Facundo Batista | 2007-03-26 | 1 | -25/+23 |
| | | | | the ftplib tests. | ||||
* | Whitespace normalization. | Tim Peters | 2007-01-30 | 1 | -2/+2 |
| | |||||
* | Patch #1359217: Ignore 2xx response before 150 response. | Martin v. Löwis | 2006-11-12 | 1 | -0/+11 |
| | | | | Will backport to 2.5. | ||||
* | SF bug #1168983: ftplib.py string index out of range | Raymond Hettinger | 2005-04-05 | 1 | -7/+16 |
| | | | | | | | | * resp[:1] in '123' # after Py2.2, this allowed blank responses to pass. * replace <> with != * provide a usage message for empty command line calls Backport candidate. | ||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 1 | -4/+4 |
| | | | | From SF patch #852334. | ||||
* | Fix a regression from the 1.68->1.69 checkin: | Walter Dörwald | 2002-06-03 | 1 | -1/+1 |
| | | | | string.split(foo, bar) must be foo.split(bar) instead of bar.split(foo). | ||||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 | 1 | -3/+3 |
| | |||||
* | Replace boolean test with is None | Raymond Hettinger | 2002-06-01 | 1 | -1/+1 |
| | |||||
* | Use string methods where possible, and remove import string | Neal Norwitz | 2002-05-31 | 1 | -6/+5 |
| | |||||
* | Closes SF patch 553277. Per GvR, reverting to original patch -- the way to | Raymond Hettinger | 2002-05-12 | 1 | -1/+1 |
| | | | | | | test if 'callable' has not been supplied is to test for None instead of False. The previous correction to 'if callable()' was wrong because an unusable callback would be ignored rather than raising an exception. | ||||
* | Patch #553277: Accept callbacks that are callable, not callbacks that are true. | Martin v. Löwis | 2002-05-08 | 1 | -1/+1 |
| | |||||
* | Access the exception argument to see whether it starts with '500'. | Martin v. Löwis | 2002-03-10 | 1 | -2/+2 |
| | | | | Fixes #527855. | ||||
* | The Grande 'sendall()' patch, copied from release21-maint. Fixes #516715. | Martin v. Löwis | 2002-02-16 | 1 | -4/+4 |
| | | | | | Replaces calls to socket.send() (which isn't guaranteed to send all data) with the new socket.sendall() method. | ||||
* | Whitespace normalization. | Tim Peters | 2002-02-16 | 1 | -7/+7 |
| | |||||
* | Update the docstring too. :-) | Guido van Rossum | 2001-12-28 | 1 | -1/+1 |
| | |||||
* | SF patch #497420 (Eduardo Pérez): ftplib: ftp anonymous password | Guido van Rossum | 2001-12-28 | 1 | -13/+8 |
| | | | | | | Instead of sending the real user and host, use "anonymous@" (i.e. no host name at all!) as the default anonymous FTP password. This avoids privacy violations. | ||||
* | Don't set passiveserver to 0 in connect(). See SF bug #495693. | Guido van Rossum | 2001-12-23 | 1 | -1/+0 |
| | | | | | This should definitely be backported to 2.2.1. I'll leave it to Jack to decide whether he wants to fix this in MacPython 2.2. | ||||
* | Oops. Catching OverflowError from int() doesn't help, since it raises | Guido van Rossum | 2001-10-17 | 1 | -2/+2 |
| | | | | ValueError on too-large inputs. | ||||
* | Fix SF bug #459767: ftplib fails with files > 2GB | Guido van Rossum | 2001-10-16 | 1 | -5/+13 |
| | | | | | size(), parse150(): try int() first, catch OverflowError, fall back to long(). | ||||
* | Only close sockets if they have been created. Reported by Blake Winton. | Martin v. Löwis | 2001-10-07 | 1 | -2/+5 |
| | |||||
* | Change the 227 response parser to use a more liberal regular | Guido van Rossum | 2001-08-17 | 1 | -7/+9 |
| | | | | | | | | expression. This is needed for certain servers that (in violation of the standard) don't return the parentheses in the response. This fixes SF bug #441712 by Henrik Weber (not exactly using his patch). | ||||
* | Initialize msg to avoid unbound locals. | Martin v. Löwis | 2001-07-31 | 1 | -0/+2 |
| | |||||
* | Untabify IPv6 changes. | Martin v. Löwis | 2001-07-26 | 1 | -66/+66 |
| | |||||
* | Patch #401196: Use getaddrinfo and AF_INET6 in TCP servers and clients. | Martin v. Löwis | 2001-07-24 | 1 | -22/+90 |
| | |||||
* | remove global decl about unused variable | Jeremy Hylton | 2001-04-09 | 1 | -1/+0 |
| | |||||
* | Move some constant initialization from FTP.__init__() and FTP.connect() | Fred Drake | 2001-02-28 | 1 | -16/+16 |
| | | | | | | | | to the class namespace. Allow FTP.close() to be called more than once without tossing cookies. (This seems to be a fairly common idiom for .close() methods, so let's try to be consistent.) | ||||
* | Provide a default for the blocksize arg of storbinary(). | Guido van Rossum | 2001-02-15 | 1 | -1/+1 |
| | | | | SF patch #103517 by mfx. | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -13/+13 |
| | |||||
* | more __all__ updates | Skip Montanaro | 2001-01-20 | 1 | -0/+1 |
| | |||||
* | Default to passive mode. See SF bug #126851. | Guido van Rossum | 2001-01-15 | 1 | -1/+1 |
| | | | | | | This is slightly controversial, but after reading the argumentation in the bug tracker for and against, I believe this is the right solution. Let me know if it breaks for you, and how. | ||||
* | Whitespace normalization. | Tim Peters | 2001-01-14 | 1 | -635/+635 |
| |