diff options
author | Robey Pointer <robey@lag.net> | 2005-08-03 06:57:30 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2005-08-03 06:57:30 +0000 |
commit | eb60811594711e8aed9b8cabeb2949ad74c82843 (patch) | |
tree | 252ef73d98920c9ec31eeb05e868fee7f331cf52 | |
parent | 5a5cd201b787affcdf80dc5cf33eb5f7ba937138 (diff) |
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-48]
can use up to 32k buffers here
-rw-r--r-- | paramiko/sftp_client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/sftp_client.py b/paramiko/sftp_client.py index 84e32fec..f0f8fcbf 100644 --- a/paramiko/sftp_client.py +++ b/paramiko/sftp_client.py @@ -460,7 +460,7 @@ class SFTPClient (BaseSFTP): fr = self.file(remotepath, 'wb') size = 0 while True: - data = fl.read(16384) + data = fl.read(32768) if len(data) == 0: break fr.write(data) @@ -488,7 +488,7 @@ class SFTPClient (BaseSFTP): fl = file(localpath, 'wb') size = 0 while True: - data = fr.read(16384) + data = fr.read(32768) if len(data) == 0: break fl.write(data) |