Lines Matching refs:resource_from
957 php_url *resource_from = NULL, *resource_to = NULL; in php_stream_ftp_rename() local
961 resource_from = php_url_parse(url_from); in php_stream_ftp_rename()
966 if (!resource_from || in php_stream_ftp_rename()
968 !resource_from->scheme || in php_stream_ftp_rename()
970 strcmp(resource_from->scheme, resource_to->scheme) || in php_stream_ftp_rename()
971 !resource_from->host || in php_stream_ftp_rename()
973 strcmp(resource_from->host, resource_to->host) || in php_stream_ftp_rename()
974 (resource_from->port != resource_to->port && in php_stream_ftp_rename()
975 resource_from->port * resource_to->port != 0 && in php_stream_ftp_rename()
976 resource_from->port + resource_to->port != 21) || in php_stream_ftp_rename()
977 !resource_from->path || in php_stream_ftp_rename()
985 php_error_docref(NULL, E_WARNING, "Unable to connect to %s", resource_from->host); in php_stream_ftp_rename()
991 …php_stream_printf(stream, "RNFR %s\r\n", (resource_from->path != NULL ? resource_from->path : "/")… in php_stream_ftp_rename()
1012 php_url_free(resource_from); in php_stream_ftp_rename()
1018 if (resource_from) { in php_stream_ftp_rename()
1019 php_url_free(resource_from); in php_stream_ftp_rename()