- or download this
Send command.
Receive "command completed execution" response.
Send "hey what were my results"
Receive results from console.
- or download this
sub sendData {
...
checkError($responseData);
$commandResponse = $responseData;
}
- or download this
my @destArray = split(/\//, $destPath); #splits path on the forward
+ slash.
...
}
shift (@destArray); # otherwise remove the directory from the lis
+t and continue
}
- or download this
command: cd hello
...
command: cd goodbye
response: [ok]
response: Operation failed.
- or download this
command: cd hello
...
response: [ok]
response: Operation failed.
response: Operation failed.
- or download this
while(responseData.indexOf("\n") == -1) { DoEvents(); } (excuse the ps
+eudo code) or something, to poll the response and wait until a respon
+se has actually been received.