Thanks josh097.
In reply to Re^2: Capturing remote command output to a file by rycher in thread Capturing remote command output to a file by rycher