diff options
-rw-r--r-- | Lib/ftplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ftplib.py b/Lib/ftplib.py index 17c681d..6819c1d 100644 --- a/Lib/ftplib.py +++ b/Lib/ftplib.py @@ -367,7 +367,7 @@ class FTP: conn.close() return self.voidresp() - def storbinary(self, cmd, fp, blocksize): + def storbinary(self, cmd, fp, blocksize=8192): '''Store a file in binary mode.''' self.voidcmd('TYPE I') conn = self.transfercmd(cmd) |