Searched refs:ftpfile (Results 1 – 4 of 4) sorted by relevance
/third_party/curl/docs/examples/ |
D | ftpgetresp.c | 45 FILE *ftpfile; in main() local 49 ftpfile = fopen(FTPBODY, "wb"); /* b is binary, needed on win32 */ in main() 58 curl_easy_setopt(curl, CURLOPT_WRITEDATA, ftpfile); in main() 73 fclose(ftpfile); /* close the local file */ in main()
|
D | ftpget.c | 53 struct FtpFile ftpfile = { in main() local 70 curl_easy_setopt(curl, CURLOPT_WRITEDATA, &ftpfile); in main() 86 if(ftpfile.stream) in main() 87 fclose(ftpfile.stream); /* close the local file */ in main()
|
D | ftpsget.c | 55 struct FtpFile ftpfile = { in main() local 74 curl_easy_setopt(curl, CURLOPT_WRITEDATA, &ftpfile); in main() 93 if(ftpfile.stream) in main() 94 fclose(ftpfile.stream); /* close the local file */ in main()
|
D | sftpget.c | 64 struct FtpFile ftpfile = { in main() local 81 curl_easy_setopt(curl, CURLOPT_WRITEDATA, &ftpfile); in main() 104 if(ftpfile.stream) in main() 105 fclose(ftpfile.stream); /* close the local file */ in main()
|