Lines Matching refs:resource_from
962 php_url *resource_from = NULL, *resource_to = NULL; in php_stream_ftp_rename() local
966 resource_from = php_url_parse(url_from); in php_stream_ftp_rename()
971 if (!resource_from || in php_stream_ftp_rename()
973 !resource_from->scheme || in php_stream_ftp_rename()
975 !zend_string_equals(resource_from->scheme, resource_to->scheme) || in php_stream_ftp_rename()
976 !resource_from->host || in php_stream_ftp_rename()
978 !zend_string_equals(resource_from->host, resource_to->host) || in php_stream_ftp_rename()
979 (resource_from->port != resource_to->port && in php_stream_ftp_rename()
980 resource_from->port * resource_to->port != 0 && in php_stream_ftp_rename()
981 resource_from->port + resource_to->port != 21) || in php_stream_ftp_rename()
982 !resource_from->path || in php_stream_ftp_rename()
990 php_error_docref(NULL, E_WARNING, "Unable to connect to %s", ZSTR_VAL(resource_from->host)); in php_stream_ftp_rename()
996 …php_stream_printf(stream, "RNFR %s\r\n", (resource_from->path != NULL ? ZSTR_VAL(resource_from->pa… in php_stream_ftp_rename()
1017 php_url_free(resource_from); in php_stream_ftp_rename()
1023 if (resource_from) { in php_stream_ftp_rename()
1024 php_url_free(resource_from); in php_stream_ftp_rename()