Home
last modified time | relevance | path

Searched refs:filesize (Results 1 – 25 of 33) sorted by relevance

12

/curl/docs/examples/
H A Dftpgetinfo.c49 curl_off_t filesize = 0; in main() local
76 &filesize); in main()
77 if((CURLE_OK == res) && (filesize > 0)) in main()
79 filename, filesize); in main()
H A Dimap-append.c94 size_t filesize; in main() local
112 filesize = strlen(payload_text); in main()
113 if(filesize <= LONG_MAX) in main()
114 infilesize = (long)filesize; in main()
/curl/tests/data/
H A Dtest2905 --max-filesize
21 FTP download maximum filesize exceeded
24 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --max-filesize 30
H A Dtest2916 --max-filesize
27 FTP download maximum filesize not exceeded
30 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --max-filesize 100
H A Dtest2926 --max-filesize
36 HTTP GET with maximum filesize not exceeded
39 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 1000
H A Dtest2936 --max-filesize
37 HTTP GET with maximum filesize exceeded
40 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 2
H A Dtest3936 --max-filesize
41 HTTP max-filesize and out-of-range Content-Length
44 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 2000000
H A Dtest4776 --max-filesize
44 HTTP GET with maximum filesize with a redirect sending data
47 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 5 -L
H A Dtest30186 --max-filesize
31 MQTT SUBSCRIBE with PUBLISH larger than --max-filesize
34 mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER --max-filesize 11
H A Dtest45746 chunked Transfer-Encoding with --max-filesize
49 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 143
/curl/docs/cmdline-opts/
H A Dmax-filesize.md4 Long: max-filesize
14 - --max-filesize 100K $URL
17 # `--max-filesize`
H A DMakefile.inc162 max-filesize.md \
/curl/tests/libtest/
H A Dlib678.c30 static int loadfile(const char *filename, void **filedata, size_t *filesize) in loadfile() argument
61 *filesize = datasize; in loadfile()
/curl/docs/libcurl/opts/
H A DCURLOPT_INFILESIZE_LARGE.md26 curl_off_t filesize);
31 When uploading a file to a remote site, *filesize* should be used to tell
H A DCURLOPT_PROXY_SSLKEY_BLOB.md53 extern size_t filesize; /* size of data */
67 blob.len = filesize;
H A DCURLOPT_SSLCERT_BLOB.md61 extern size_t filesize; /* size of data */
70 stblob.len = filesize;
H A DCURLOPT_SSLKEY_BLOB.md55 extern size_t filesize; /* size of cert */
68 blob.len = filesize;
H A DCURLOPT_INFILESIZE.md25 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_INFILESIZE, long filesize);
30 When uploading a file to a remote site, *filesize* should be used to tell
H A DCURLOPT_PROXY_SSLCERT_BLOB.md60 extern size_t filesize; /* size of the data */
69 blob.len = filesize;
H A DCURLOPT_ISSUERCERT_BLOB.md69 extern size_t filesize;
79 blob.len = filesize;
H A DCURLOPT_PROXY_ISSUERCERT_BLOB.md70 size_t filesize; /* size of the data */
82 blob.len = filesize;
/curl/lib/
H A Dftp.c2191 curl_off_t filesize) in ftp_state_retr() argument
2203 ftp->downloadsize = filesize; in ftp_state_retr()
2208 if(filesize == -1) { in ftp_state_retr()
2220 if(filesize < -data->state.resume_from) { in ftp_state_retr()
2232 if(filesize < data->state.resume_from) { in ftp_state_retr()
2279 curl_off_t filesize = -1; in ftp_state_size_resp() local
2314 if(-1 != filesize) { in ftp_state_size_resp()
2323 Curl_pgrsSetDownloadSize(data, filesize); in ftp_state_size_resp()
2327 Curl_pgrsSetDownloadSize(data, filesize); in ftp_state_size_resp()
2328 result = ftp_state_retr(data, filesize); in ftp_state_size_resp()
[all …]
/curl/lib/vssh/
H A Dlibssh2.c1137 curl_off_t size = attrs.filesize; in sftp_upload_init()
1142 data->state.resume_from = attrs.filesize; in sftp_upload_init()
1509 (attrs.filesize == 0)) { in sftp_download_stat()
1521 curl_off_t size = attrs.filesize; in sftp_download_stat()
1553 FMT_OFF_T ")", from, (curl_off_t)attrs.filesize); in sftp_download_stat()
1577 if((curl_off_t)attrs.filesize < -data->state.resume_from) { in sftp_download_stat()
1580 data->state.resume_from, (curl_off_t)attrs.filesize); in sftp_download_stat()
1584 data->state.resume_from += attrs.filesize; in sftp_download_stat()
1587 if((curl_off_t)attrs.filesize < data->state.resume_from) { in sftp_download_stat()
1590 data->state.resume_from, (curl_off_t)attrs.filesize); in sftp_download_stat()
[all …]
/curl/docs/
H A Doptions-in-versions127 --max-filesize 7.10.8
/curl/lib/vtls/
H A Dvtls.c1109 long filesize; in Curl_pin_peer_pubkey() local
1124 filesize = ftell(fp); in Curl_pin_peer_pubkey()
1127 if(filesize < 0 || filesize > MAX_PINNED_PUBKEY_SIZE) in Curl_pin_peer_pubkey()
1134 size = curlx_sotouz((curl_off_t) filesize); in Curl_pin_peer_pubkey()

Completed in 56 milliseconds

12