HomeSort by relevance Sort by last modified time
    Searched refs:ftpfile (Results 1 - 4 of 4) sorted by null

  /external/curl/docs/examples/
ftpget.c 31 struct FtpFile {
38 struct FtpFile *out = (struct FtpFile *)stream;
53 struct FtpFile ftpfile = { local
70 curl_easy_setopt(curl, CURLOPT_WRITEDATA, &ftpfile);
86 if(ftpfile.stream)
87 fclose(ftpfile.stream); /* close the local file */
ftpgetresp.c 45 FILE *ftpfile; local
49 ftpfile = fopen(FTPBODY, "wb"); /* b is binary, needed on win32 */
58 curl_easy_setopt(curl, CURLOPT_WRITEDATA, ftpfile);
73 fclose(ftpfile); /* close the local file */
ftpsget.c 32 struct FtpFile {
40 struct FtpFile *out = (struct FtpFile *)stream;
55 struct FtpFile ftpfile = { local
74 curl_easy_setopt(curl, CURLOPT_WRITEDATA, &ftpfile);
93 if(ftpfile.stream)
94 fclose(ftpfile.stream); /* close the local file */
sftpget.c 41 struct FtpFile {
49 struct FtpFile *out = (struct FtpFile *)stream;
64 struct FtpFile ftpfile = { local
81 curl_easy_setopt(curl, CURLOPT_WRITEDATA, &ftpfile);
104 if(ftpfile.stream)
105 fclose(ftpfile.stream); /* close the local file */

Completed in 227 milliseconds