Archived Forum Post

Index of archived forum posts

Question:

How can I use Chilkat ssh activex to receive a long time response in php?

Jan 08 '13 at 16:11

I can use Chilkat to send a command by ssh and get response immediately. If the command response takes multi-seconds or minutes, how to get them? if we don't know the response finished time, can we display what we get in a window, just like in Putty? Any examples are welcome. Thanks.

Simon


Answer

I don't really understand the question. Why couldn't you simply read the channel later? Perhaps check to see if a response has arrived from time to time? I don't see how the coding would be any different other than NOT trying to read for a response immediately.