Lines Matching refs:status

642           server MAY send a status response describing the failure, but MUST then close the channel without
672 list($status) = Strings::unpackSSH2('N', $response);
673 if ($status != NET_SFTP_STATUS_OK) {
674 $this->logError($response, $status);
676 . ' Got ' . $status);
799 * @param int $status
801 private function logError($response, $status = -1)
803 if ($status == -1) {
804 list($status) = Strings::unpackSSH2('N', $response);
807 $error = self::$status_codes[$status];
995 // If we get an int back, then that is an "unexpected" status.
1034 // If we get an int back, then that is an "unexpected" status.
1105 list($status) = Strings::unpackSSH2('N', $response);
1106 $this->logError($response, $status);
1107 return $status;
1157 list($status) = Strings::unpackSSH2('N', $response);
1158 if ($status != NET_SFTP_STATUS_EOF) {
1159 $this->logError($response, $status);
1160 return $status;
1761 list($status) = Strings::unpackSSH2('N', $response);
1762 if ($status != NET_SFTP_STATUS_OK) {
1763 $this->logError($response, $status);
1942 list($status) = Strings::unpackSSH2('N', $response);
1943 if ($status != NET_SFTP_STATUS_OK) {
1944 $this->logError($response, $status);
2002 list($status) = Strings::unpackSSH2('N', $response);
2003 if ($status != NET_SFTP_STATUS_OK) {
2004 $this->logError($response, $status);
2041 list($status) = Strings::unpackSSH2('N', $response);
2042 if ($status != NET_SFTP_STATUS_OK) {
2044 $this->logError($response, $status);
2306 list($status) = Strings::unpackSSH2('N', $response);
2307 if ($status != NET_SFTP_STATUS_OK) {
2308 $this->logError($response, $status);
2327 // "The client MUST release all resources associated with the handle regardless of the status."
2335 list($status) = Strings::unpackSSH2('N', $response);
2336 if ($status != NET_SFTP_STATUS_OK) {
2337 $this->logError($response, $status);
2546 // if $status isn't SSH_FX_OK it's probably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED
2547 list($status) = Strings::unpackSSH2('N', $response);
2548 if ($status != NET_SFTP_STATUS_OK) {
2549 $this->logError($response, $status);
2998 // if $status isn't SSH_FX_OK it's probably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED
2999 list($status) = Strings::unpackSSH2('N', $response);
3000 if ($status != NET_SFTP_STATUS_OK) {
3001 $this->logError($response, $status);