$ssh2->scp_get($remote,$local); print $ssh2->error();