Hi Paula,
thanks for the logs.
As you already know, the Seek method of the BlobReadStream class throws ArgumentOutOfRangeException when a sftp client tries to seek beyond the end of the stream.
Behavior of the BlobReadStream is radically different from the behavior of other commonly used and well known streams.
See the doc for the method Stream.Seek.
https://msdn.microsoft.com/en-us/library/system.io.stream.seek%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
Excerpt relevant for our discussion.
"Seeking to any location beyond the length of the stream is supported."
I have made a fix for you. When you use the method,
return NodeContent.CreateReadOnlyContent(...)
then our inner stream does not allow seek beyond the length of the BlobReadStream (or any other stream).
If you can drop me a mail to support@rebex.net. I will be glad to prepare hotfix for you.