Guido van Rossum
93a7c0fe6b
Fredrik Lundh:
...
This fixes a bunch of socket.connect(host, post) calls. Note that I
haven't tested all modules -- I don't have enough servers here...
2000-03-28 21:45:46 +00:00
Guido van Rossum
98d9fd3e68
Simple changes by Gerrit Holl - move author acknowledgements out of
...
docstrings into comments.
2000-02-28 15:12:25 +00:00
Guido van Rossum
4b8c6eaf8b
Actually, the previous batch's comment should have been different;
...
*this* set of patches is Ka-Ping's final sweep:
The attached patches update the standard library so that all modules
have docstrings beginning with one-line summaries.
A new docstring was added to formatter. The docstring for os.py
was updated to mention nt, os2, ce in addition to posix, dos, mac.
2000-02-04 15:39:30 +00:00
Guido van Rossum
1ebcf6aabb
Patches by Michael Reilly to correctly deal with ftp URLs of the form
...
ftp://user@host//root/path: the double slash in the pathname means to
go to the root directory even if the initial directory isn't the root.
1999-08-18 21:51:10 +00:00
Fred Drake
d5f173bf1f
FTP.dir(): Fix typo in docstring.
1999-07-07 13:36:59 +00:00
Guido van Rossum
c822a453bd
Add warning to Netrc's docstring that it is obsolete -- use the netrc
...
module instead. (The main advantage of the latter is that it comes
with documentation.)
1998-12-22 16:49:16 +00:00
Guido van Rossum
c6769c54f4
Typo discovered by Just.
1998-12-21 16:26:31 +00:00
Guido van Rossum
6bbd1d0f0e
According to Robin Dunn, at least one FTP server returns 200 instead
...
of 250 on a successful delete.
1998-07-02 20:41:20 +00:00
Fred Drake
9291d271fb
parse150(): Simplify RE used to parse the message a little, taking advantage
...
of using re instead of regex.
1998-04-27 14:39:44 +00:00
Guido van Rossum
8ca842066c
A few lines were indented using spaces instead of tabs -- fix them.
1998-03-26 20:56:10 +00:00
Guido van Rossum
9824509d3e
Add rmd() (remove directory command); fix comment in parse257.
...
In login(), force passwd and acct to '' when they are None (this can
happen in the test program!).
1998-02-19 21:15:44 +00:00
Guido van Rossum
ab76af3d65
Provide default for blocksize on retrbinary (Skip Montanaro).
1997-12-03 19:34:14 +00:00
Guido van Rossum
acfb82a530
Use re instead of regex. Also remove bogus return statement from __init__().
1997-10-22 20:49:52 +00:00
Guido van Rossum
2f3941d743
Return the error code from most commands, rather than swallowing it.
...
Adapted the example (lying slightly about the string printed by
login()).
1997-10-07 14:49:56 +00:00
Fred Drake
475d51d7b2
Wrapped up the ~/.netrc support. This is basically just the changes Guido &
...
I discussed to the original version way-back-when.
1997-06-24 22:02:54 +00:00
Guido van Rossum
56d1e3a517
Added Fred Drake's netrc parser class.
1997-03-14 04:16:54 +00:00
Fred Drake
4de02d9722
(ftplib.py): Added parse150() function and FTP.ntransfercmd(). This allows
...
access to the expected size of a transfer when available.
1997-01-10 18:26:09 +00:00
Guido van Rossum
24611f80e8
Always open file objects in binary mode.
1996-09-30 22:02:50 +00:00
Guido van Rossum
d2560b0f2e
Docstringified and PASV support by Siebren (including new ftpcp() function).
1996-05-28 23:41:25 +00:00
Jack Jansen
2bb57b81f2
Changed makefile() args from r/w to rb/wb, for non-unix compatability.
1996-02-14 16:06:24 +00:00
Guido van Rossum
0eaa74bf8d
add acct() method to send new account name
1996-01-25 18:37:21 +00:00
Guido van Rossum
a61bdeb8a9
add delete() method to ftp object
1995-10-11 17:36:31 +00:00
Guido van Rossum
c0e68d1e41
actualized example, catch EOFError, print retrieved lines if debugging>2
1995-09-30 16:51:50 +00:00
Guido van Rossum
221ec0b97a
new sendport() interface; add test() program call
1995-08-04 04:39:30 +00:00
Guido van Rossum
303c179b92
add bind(0,''); better way of guessing our fully qualified hostname
1995-06-20 17:21:42 +00:00