Re: Problem with remote host (General questions)

by Jasmine, (7224 days ago) @ Helmut Schnur

Helmut,

it's because you set Command property. When set, it is executed instead of shell, so as soon as that command completes, connection is closed from remote side.

Basically, you have here race condition - what will happen first, will command finish first, or your WaitFor? Obviously, sometimes one wins, sometimes another...

locked

Complete thread: