Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Download large files never completes, no error

$
0
0
This never completes on files that are close to 2GB
This succeeded on files close to 500MB. Not sure where the threshold is.
But the memory utilization goes up to 5GB+ and bounces up and down indefinitely
                  using (var ms = new MemoryStream())
                        {

                            sftp.BufferSize = 1024 * 16;
                            sftp.DownloadFile(file.FullName, ms);
                        }

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>