diff options
author | Guido van Rossum <guido@python.org> | 2001-02-15 13:53:40 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-02-15 13:53:40 (GMT) |
commit | bf416fa0ddd2b597b1fa55be6113bd39f4fc24ce (patch) | |
tree | 7a8320cf778481d5ae10b6872bab8ccef9857df0 | |
parent | 4ac83474a3201394ea668d624729883d85f9304a (diff) | |
download | cpython-bf416fa0ddd2b597b1fa55be6113bd39f4fc24ce.zip cpython-bf416fa0ddd2b597b1fa55be6113bd39f4fc24ce.tar.gz cpython-bf416fa0ddd2b597b1fa55be6113bd39f4fc24ce.tar.bz2 |
Document default blocksize for storbinary().
-rw-r--r-- | Doc/lib/libftplib.tex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libftplib.tex b/Doc/lib/libftplib.tex index bb52f25..21fb8f5 100644 --- a/Doc/lib/libftplib.tex +++ b/Doc/lib/libftplib.tex @@ -173,12 +173,13 @@ passive mode. (In Python 2.0 and before, passive mode was off by default; in Python 2.1 and later, it is on by default.) \end{methoddesc} -\begin{methoddesc}{storbinary}{command, file, blocksize} +\begin{methoddesc}{storbinary}{command, file\optional{, blocksize}} Store a file in binary transfer mode. \var{command} should be an appropriate \samp{STOR} command, i.e.\ \code{"STOR \var{filename}"}. \var{file} is an open file object which is read until \EOF{} using its \method{read()} method in blocks of size \var{blocksize} to provide the -data to be stored. +data to be stored. The \var{blocksize} argument defaults to 8192. +\versionchanged[default for \var{blocksize} added]{2.1} \end{methoddesc} \begin{methoddesc}{storlines}{command, file} |