Sftpfile stream is very slow it took 1hr 15 mins for 400mb file.
Is there any way to increase the read buffer of the sftpfilestream.
sftp.buffersize is for upload i believe. But i tried changing it no luck.
Comments: ** Comment from web user: drieseng **
Is there any way to increase the read buffer of the sftpfilestream.
sftp.buffersize is for upload i believe. But i tried changing it no luck.
Comments: ** Comment from web user: drieseng **
I've made quite a few changes that improve throughput significantly, but I now also found the reason why SftpFileStream is much slower: we do not take into account the buffer size for SftpFileStream. We always use a buffer size of 4 KB!
I'll fix and test the impact tomorrow.