This project is read-only.

Download large files never completes, no error

Nov 22, 2013 at 5:31 AM
Edited Nov 22, 2013 at 5:32 AM
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);