sFTP stream is unreadable in version 6.8

0
I have the following code. It has worked beautifully for years using the sFTP libraries version 5.0. We have recent upgraded to the latest 6.8 and the stream is unreadable. The stream is retrieved from the sftp server and it exists..but it throws an error an an unreadable stream. Simply swapping the references back to the 5.0 libraries allows the stream to be readable. Is there a difference in the stream returned by the 'GetDownloadStream' method. var stream = sftpClient.GetDownloadStream(Normalize(remoteFilename)); if (stream.Length <= 100000000)//if less than 100mb { //do something }
 
asked 9/5/2018 5:26:40 PM
add a comment

2 Answers

0
Hello Sysadmin? You answer suggests that you sold my company a product that does not work. Should we be requesting a refund? Or can you give us a workaround and a release date for the fix?
 
answered 9/10/2018 1:44:06 PM
  Sorry for the late response. Our QA system does not notify about the old question. If you have sent the request to support@componentpro.com, it should have already solved by the new version 7.0. If you have not sent, please drop us a line. sysadmin 10/30/2018 1:22:30 AM
add a comment
0
This issue will be addressed in our up coming v7.0
 
answered 9/6/2018 7:59:05 AM
  Is there an alternate method of retrieving the stream? Is there a release date set for 7.0? jsolomon 9/6/2018 1:30:19 PM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.