I have added this line of code:
$API->write('/import config.rsc');
It seems like my code works fine as i get back this array:
/import config.rsc >>> [3/3] bytes read. >>> [3, 20]!re >>> [18/18] bytes read. >>> [18, 1]=status=connecting >>> [3/3] bytes read. >>> [3, 18]!re >>> [16/16] bytes read. >>> [16, 1]=status=finished Array ( [0] => Array ( [status] => connecting ) [1] => Array ( [status] => finished ) ) Disconnected...
However, changing the filename to something else that is not present in the /file directory doesn't make a difference. It keeps showing the same array results.
Anyone know what I did wrong here?