sftp change upload chunk size smaill
Showing
1 changed file
with
1 additions
and
4 deletions
@@ -95,10 +95,7 @@ class Deploy { | @@ -95,10 +95,7 @@ class Deploy { | ||
95 | reject(err); | 95 | reject(err); |
96 | } else { | 96 | } else { |
97 | sftp.fastPut(self.localFile, self.remoteFile, { | 97 | sftp.fastPut(self.localFile, self.remoteFile, { |
98 | - | ||
99 | - step: (total, chunk, all) => { | ||
100 | - //self._log(` uploading: ${total}/${all}`); | ||
101 | - } | 98 | + chunkSize: 10240 |
102 | }, (err) => { | 99 | }, (err) => { |
103 | if (err) { | 100 | if (err) { |
104 | reject(err); | 101 | reject(err); |
-
Please register or login to post a comment