Lines Matching refs:path

134 static php_stream *php_ftp_fopen_connect(php_stream_wrapper *wrapper, const char *path, const char …  in php_ftp_fopen_connect()  argument
145 resource = php_url_parse(path); in php_ftp_fopen_connect()
146 if (resource == NULL || resource->path == NULL) { in php_ftp_fopen_connect()
416 php_stream * php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mod… in php_stream_url_wrap_ftp() argument
460 return php_stream_url_wrap_http(wrapper, path, mode, options, opened_path, context STREAMS_CC); in php_stream_url_wrap_ftp()
468 …stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &reso… in php_stream_url_wrap_ftp()
480 php_stream_printf(stream, "SIZE %s\r\n", resource->path); in php_stream_url_wrap_ftp()
509 php_stream_printf(stream, "DELE %s\r\n", resource->path); in php_stream_url_wrap_ftp()
553 php_stream_printf(stream, "%s %s\r\n", tmp_line, (resource->path != NULL ? resource->path : "/")); in php_stream_url_wrap_ftp()
688 php_stream * php_stream_ftp_opendir(php_stream_wrapper *wrapper, const char *path, const char *mode… in php_stream_ftp_opendir() argument
701 …stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &reso… in php_stream_ftp_opendir()
732 php_stream_printf(stream, "NLST %s\r\n", (resource->path != NULL ? resource->path : "/")); in php_stream_ftp_opendir()
797 …php_stream_printf(stream, "CWD %s\r\n", (resource->path != NULL ? resource->path : "/")); /* If we… in php_stream_ftp_url_stat()
813 php_stream_printf(stream, "SIZE %s\r\n", (resource->path != NULL ? resource->path : "/")); in php_stream_ftp_url_stat()
828 php_stream_printf(stream, "MDTM %s\r\n", (resource->path != NULL ? resource->path : "/")); in php_stream_ftp_url_stat()
919 if (resource->path == NULL) { in php_stream_ftp_unlink()
927 php_stream_printf(stream, "DELE %s\r\n", (resource->path != NULL ? resource->path : "/")); in php_stream_ftp_unlink()
977 !resource_from->path || in php_stream_ftp_rename()
978 !resource_to->path) { 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()
1002 php_stream_printf(stream, "RNTO %s\r\n", (resource_to->path != NULL ? resource_to->path : "/")); in php_stream_ftp_rename()
1048 if (resource->path == NULL) { in php_stream_ftp_mkdir()
1056 php_stream_printf(stream, "MKD %s\r\n", resource->path); in php_stream_ftp_mkdir()
1062 buf = estrdup(resource->path); in php_stream_ftp_mkdir()
1076 php_stream_printf(stream, "MKD %s\r\n", resource->path); in php_stream_ftp_mkdir()
1142 if (resource->path == NULL) { in php_stream_ftp_rmdir()
1149 php_stream_printf(stream, "RMD %s\r\n", resource->path); in php_stream_ftp_rmdir()