Home
last modified time | relevance | path

Searched refs:ftpfile (Results 1 – 4 of 4) sorted by relevance

/external/curl/docs/examples/
Dftpgetresp.c45 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()
Dftpget.c53 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()
Dftpsget.c55 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()
Dsftpget.c64 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()