summaryrefslogtreecommitdiffstats
path: root/Lib/ftplib.py
Commit message (Collapse)AuthorAgeFilesLines
* According to Robin Dunn, at least one FTP server returns 200 insteadGuido van Rossum1998-07-021-1/+1
| | | | of 250 on a successful delete.
* parse150(): Simplify RE used to parse the message a little, taking advantageFred Drake1998-04-271-2/+1
| | | | of using re instead of regex.
* A few lines were indented using spaces instead of tabs -- fix them.Guido van Rossum1998-03-261-132/+137
|
* Add rmd() (remove directory command); fix comment in parse257.Guido van Rossum1998-02-191-2/+8
| | | | | In login(), force passwd and acct to '' when they are None (this can happen in the test program!).
* Provide default for blocksize on retrbinary (Skip Montanaro).Guido van Rossum1997-12-031-1/+1
|
* Use re instead of regex. Also remove bogus return statement from __init__().Guido van Rossum1997-10-221-6/+8
|
* Return the error code from most commands, rather than swallowing it.Guido van Rossum1997-10-071-16/+25
| | | | | Adapted the example (lying slightly about the string printed by login()).
* Wrapped up the ~/.netrc support. This is basically just the changes Guido &Fred Drake1997-06-241-6/+27
| | | | I discussed to the original version way-back-when.
* Added Fred Drake's netrc parser class.Guido van Rossum1997-03-141-0/+100
|
* (ftplib.py): Added parse150() function and FTP.ntransfercmd(). This allowsFred Drake1997-01-101-3/+30
| | | | access to the expected size of a transfer when available.
* Always open file objects in binary mode.Guido van Rossum1996-09-301-2/+2
|
* Docstringified and PASV support by Siebren (including new ftpcp() function).Guido van Rossum1996-05-281-91/+171
|
* Changed makefile() args from r/w to rb/wb, for non-unix compatability.Jack Jansen1996-02-141-2/+2
|
* add acct() method to send new account nameGuido van Rossum1996-01-251-0/+5
|
* add delete() method to ftp objectGuido van Rossum1995-10-111-0/+10
|
* actualized example, catch EOFError, print retrieved lines if debugging>2Guido van Rossum1995-09-301-8/+15
|
* new sendport() interface; add test() program callGuido van Rossum1995-08-041-6/+9
|
* add bind(0,''); better way of guessing our fully qualified hostnameGuido van Rossum1995-06-201-1/+8
|
* don't show print passwords in debug outputGuido van Rossum1995-05-051-6/+16
|
* For anonymous ftp, make sure local hostname is fully qualified.Jack Jansen1995-05-041-0/+4
|
* Always use 'anonymous' if os.environ doesn't existJack Jansen1995-01-191-5/+10
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-75/+38
|
* * Mass change: get rid of all init() methods, in favor of __init__()Guido van Rossum1993-12-171-6/+1
| | | | | | | constructors. There is no backward compatibility. Not everything has been tested. * aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as comments)
* * wdbframewin.py (re_eval): set __privileged__ in globals so privateGuido van Rossum1993-12-141-1/+1
| | | | | | | variables can still be seen by the debugger * ftplib.py (retrlines): args should be *args. * ChangeLog: entries for Sjoerd's addition sunau.py and changes to aiff.py * test_md5.py: test program for built-in md5 module
* * test_*.py: new lambda syntax (also affects tests for filter, map,Guido van Rossum1993-11-301-12/+42
| | | | | | | | | | reduce) * ftplib.py: added default callback for retrlines; added dir() method * ftplib.py: don't return self in self.connect(); added hack so that if 'CDUP' is not understood, 'CWD ..' is tried. * ftplib.py: second method called init() should have been called connect(); if __init__ sees more than one argument, it will also try to login().
* * string.py: added rindex(), rfind(); changed index() to interpretGuido van Rossum1993-11-081-4/+5
| | | | | | | | | | | negative start indices starting from the right. * ftplib.py: debug() -> set_debuglevel(); change demo to use __init__(). * os.py: added execl, execlp, and execvp. * lambda.py: removed (now that we have built-in map, reduce, bagof, lambda) * test_b{1,2}.py, testall.out: added tests for bagof, lambda, map, reduce * commands.py: use os, not posix * test_grammar.py: make it easy to disable non-portable int overflow tests * dis.py: don't abuse range()
* * posixpath.py: Fix border cases in normpath ('/foo/..' should return '/')Guido van Rossum1993-07-061-1/+5
| | | | | * ftplib.py: made cwd() use 'CDUP' when dirname is '..' * FL.py: added new constant FL_PLACE_FULLSCREEN
* * calendar.py: minor cleanupsGuido van Rossum1993-06-171-9/+24
| | | | | * ftplib.py: support __init__ with optional host, port args * aifc.py: ensure header is written on close even when no data is written
* * toaiff.py: import whatsound instead of sndhdrGuido van Rossum1993-06-011-4/+10
| | | | | | * sndhdr.py: renamed to whatsound.py; use new aifc module for AIFF/AIFC * ftplib.py: added close() (closes without sending QUIT command) * aifc.py: documented close()
* * ftplib.py: added abort() command (sends oob data).Guido van Rossum1993-05-241-0/+20
| | | | | | * Several modules: change "class C(): ..." to "class C: ...". * flp.py: support for frozen forms. * Added string.find() which is like index but returns -1 if not found
* Added cwd()Guido van Rossum1993-05-171-0/+4
|
* Added all_errors, list of all possible exceptions.Guido van Rossum1992-11-061-1/+7
|
* Use getsockname() if it existsGuido van Rossum1992-11-051-11/+18
|
* Added much functionality, changed some names (errors, login).Guido van Rossum1992-11-051-54/+160
|
* Initial revisionGuido van Rossum1992-11-041-0/+258