Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
31 CURL *curl;
40 curl = curl_easy_init();
41 if(!curl) {
48 * Begin with curl set to use a single CWD to the URL's directory.
50 test_setopt(curl, CURLOPT_URL, URL);
51 test_setopt(curl, CURLOPT_VERBOSE, 1L);
52 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD);
54 res = curl_easy_perform(curl);
59 * QUOTE command, after which curl will CWD to ftp_conn->entrypath and then
66 curl_easy_cleanup(curl);
74 curl_easy_cleanup(curl);
79 test_setopt(curl, CURLOPT_URL, newURL);
80 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD);
81 test_setopt(curl, CURLOPT_QUOTE, slist);
83 res = curl_easy_perform(curl);
89 curl_easy_cleanup(curl);