[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 530
  • Last Modified:

The ChannelOutputStream is closed! while sftp connection using java

I am getting "java.io.IOException: The ChannelOutputStream is closed!". Can you tell why this would happen?
0
g46905
Asked:
g46905
1 Solution
 
CEHJCommented:
>>Can you tell why this would happen?

Because you closed the connection or it was closed? Can you post your code?
0
 
objectsCommented:
you are trying to write to a ChannelOutputStream that you have already called the close() method on
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now