Downloading and returning a non blocking stream of data using SSH.Net
问题 I am using the ssh.net library for performing SFTP operations to work with large data files ( >=500MB ) I am having an issue with how to return the data in a non-blocking way. The ftpClient.DownloadFile() method signature is ok, when writing to a file or if there's some way I can instantiate the stream, but am having problems on how to use it when I want to return a stream without blocking. All the examples I have seen so far will be writing the download to a Filestream . Nothing that just