Home
last modified time | relevance | path

Searched refs:infilesize (Results 1 – 18 of 18) sorted by relevance

/curl/docs/examples/
H A Dimap-append.c95 long infilesize = LONG_MAX; in main() local
114 infilesize = (long)filesize; in main()
115 curl_easy_setopt(curl, CURLOPT_INFILESIZE, infilesize); in main()
/curl/lib/vssh/
H A Dwolfssh.c671 if(data->state.infilesize > 0) { in wssh_statemach_act()
672 data->state.infilesize -= data->state.resume_from; in wssh_statemach_act()
673 data->req.size = data->state.infilesize; in wssh_statemach_act()
674 Curl_pgrsSetUploadSize(data, data->state.infilesize); in wssh_statemach_act()
679 if(data->state.infilesize > 0) { in wssh_statemach_act()
680 data->req.size = data->state.infilesize; in wssh_statemach_act()
681 Curl_pgrsSetUploadSize(data, data->state.infilesize); in wssh_statemach_act()
H A Dlibssh.c1336 if(data->state.infilesize > 0) { in myssh_statemach_act()
1337 data->state.infilesize -= data->state.resume_from; in myssh_statemach_act()
1338 data->req.size = data->state.infilesize; in myssh_statemach_act()
1339 Curl_pgrsSetUploadSize(data, data->state.infilesize); in myssh_statemach_act()
1348 if(data->state.infilesize > 0) { in myssh_statemach_act()
1349 data->req.size = data->state.infilesize; in myssh_statemach_act()
1350 Curl_pgrsSetUploadSize(data, data->state.infilesize); in myssh_statemach_act()
1804 if(data->state.infilesize < 0) { in myssh_statemach_act()
1840 data->state.infilesize, in myssh_statemach_act()
H A Dlibssh2.c1259 if(data->state.infilesize > 0) { in sftp_upload_init()
1260 data->state.infilesize -= data->state.resume_from; in sftp_upload_init()
1261 data->req.size = data->state.infilesize; in sftp_upload_init()
1262 Curl_pgrsSetUploadSize(data, data->state.infilesize); in sftp_upload_init()
1267 if(data->state.infilesize > 0) { in sftp_upload_init()
1268 data->req.size = data->state.infilesize; in sftp_upload_init()
1269 Curl_pgrsSetUploadSize(data, data->state.infilesize); in sftp_upload_init()
2664 if(data->state.infilesize < 0) { in ssh_statemachine()
2686 data->state.infilesize); in ssh_statemachine()
2710 data->req.size = data->state.infilesize; in ssh_statemachine()
[all …]
/curl/lib/
H A Dtransfer.c600 data->state.infilesize = data->set.filesize; in Curl_pretransfer()
603 data->state.infilesize = data->set.postfieldsize; in Curl_pretransfer()
604 if(data->set.postfields && (data->state.infilesize == -1)) in Curl_pretransfer()
605 data->state.infilesize = (curl_off_t)strlen(data->set.postfields); in Curl_pretransfer()
608 data->state.infilesize = 0; in Curl_pretransfer()
H A Dsmtp.c714 data->state.infilesize = Curl_creader_total_length(data); in smtp_perform_mail()
719 result = Curl_creader_set_fread(data, data->state.infilesize); in smtp_perform_mail()
725 if(conn->proto.smtpc.size_supported && data->state.infilesize > 0) { in smtp_perform_mail()
726 size = aprintf("%" FMT_OFF_T, data->state.infilesize); in smtp_perform_mail()
1163 Curl_pgrsSetUploadSize(data, data->state.infilesize); in smtp_state_data_resp()
1855 if(data->state.infilesize > 0) in cr_eob_read()
1856 data->state.infilesize++; in cr_eob_read()
H A Dfile.c338 if(-1 != data->state.infilesize) in file_upload()
340 Curl_pgrsSetUploadSize(data, data->state.infilesize); in file_upload()
H A Dtftp.c455 if(data->state.infilesize != -1) in tftp_send_first()
456 Curl_pgrsSetUploadSize(data, data->state.infilesize); in tftp_send_first()
486 data->state.upload && (data->state.infilesize != -1) ? in tftp_send_first()
487 data->state.infilesize : 0); in tftp_send_first()
H A Drtsp.c507 req_clen = data->state.infilesize; in rtsp_do()
519 else if(data->state.infilesize >= 0) { in rtsp_do()
520 req_clen = data->state.infilesize; in rtsp_do()
H A Dcurl_rtmp.c275 Curl_pgrsSetUploadSize(data, data->state.infilesize); in rtmp_do()
H A Dimap.c795 data->state.infilesize = Curl_creader_client_length(data); in imap_perform_append()
800 result = Curl_creader_set_fread(data, data->state.infilesize); in imap_perform_append()
806 if(data->state.infilesize < 0) { in imap_perform_append()
818 mailbox, data->state.infilesize); in imap_perform_append()
1267 Curl_pgrsSetUploadSize(data, data->state.infilesize); in imap_state_append_resp()
H A Dsendf.c1025 if(!data->set.crlf && (data->state.infilesize != -1)) { in cr_lc_read()
1028 data->state.infilesize++; in cr_lc_read()
1150 result = Curl_creader_set_fread(data, data->state.infilesize); in Curl_creader_add()
1190 result = Curl_creader_set_fread(data, data->state.infilesize); in Curl_client_read()
H A Dftp.c520 Curl_pgrsSetUploadSize(data, data->state.infilesize); in InitiateTransfer()
1566 if(data->state.infilesize > 0) { in ftp_state_ul_setup()
1567 data->state.infilesize -= data->state.resume_from; in ftp_state_ul_setup()
1569 if(data->state.infilesize <= 0) { in ftp_state_ul_setup()
3363 if((-1 != data->state.infilesize) && in ftp_done()
3364 (data->state.infilesize != data->req.writebytecount) && in ftp_done()
3369 data->req.writebytecount, data->state.infilesize); in ftp_done()
H A Dsmb.c949 if(data->state.upload && (data->state.infilesize < 0)) { in smb_request_state()
1001 data->req.size = data->state.infilesize; in smb_request_state()
H A Dhttp.c1954 data->state.infilesize = Curl_creader_total_length(data); in set_post_reader()
1967 curl_off_t postsize = data->state.infilesize; in set_reader()
2017 data->state.infilesize = 0; in set_reader()
2354 data->state.infilesize : in Curl_http_range()
H A Durldata.h1279 curl_off_t infilesize; /* size of file to upload, -1 means unknown. member
/curl/lib/vquic/
H A Dcurl_ngtcp2.c1466 if(data->state.infilesize != -1) in h3_stream_open()
1467 stream->upload_left = data->state.infilesize; in h3_stream_open()
H A Dcurl_osslq.c1864 if(data->state.infilesize != -1) in h3_stream_open()
1865 stream->upload_left = data->state.infilesize; in h3_stream_open()

Completed in 88 milliseconds