Searched refs:ftpfile (Results 1 – 4 of 4) sorted by relevance
/curl/docs/examples/ |
H A D | ftpgetresp.c | 47 FILE *ftpfile; in main() local 51 ftpfile = fopen(FTPBODY, "wb"); /* b is binary, needed on Windows */ in main() 60 curl_easy_setopt(curl, CURLOPT_WRITEDATA, ftpfile); in main() 75 fclose(ftpfile); /* close the local file */ in main()
|
H A D | ftpget.c | 55 struct FtpFile ftpfile = { in main() local 72 curl_easy_setopt(curl, CURLOPT_WRITEDATA, &ftpfile); in main() 88 if(ftpfile.stream) in main() 89 fclose(ftpfile.stream); /* close the local file */ in main()
|
H A D | ftpsget.c | 57 struct FtpFile ftpfile = { in main() local 76 curl_easy_setopt(curl, CURLOPT_WRITEDATA, &ftpfile); in main() 95 if(ftpfile.stream) in main() 96 fclose(ftpfile.stream); /* close the local file */ in main()
|
H A D | sftpget.c | 66 struct FtpFile ftpfile = { in main() local 83 curl_easy_setopt(curl, CURLOPT_WRITEDATA, &ftpfile); in main() 106 if(ftpfile.stream) in main() 107 fclose(ftpfile.stream); /* close the local file */ in main()
|
Completed in 6 milliseconds