Re: Buffer Size Command Hanging - WeOnlyDo Discussion board

Re: Buffer Size Command Hanging (General questions)

by wodSupport, Wednesday, July 08, 2009, 14:04 (5618 days ago) @ mmorton

Hold on, I'll write a sample. Your

while ssh.dataready

is bad because if data arrives slow then this while will fail. You should call

do
a = ssh.receive
...
while prompt_not_found

when there's no data, ssh.receive will wait for more data, and your loop will run as long as prompt arrives.

Kreso


Complete thread: