cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > libcurl > API > Options Used By Examples

Options Used By Examples

All Examples

10-at-a-time.c
anyauthput.c
cacertinmem.c
certinfo.c
chkspeed.c
cookie_interface.c
curlgtk.c
curlx.c
debug.c
evhiperfifo.c
externalsocket.c
fileupload.c
fopen.c
ftp-wildcard.c
ftpget.c
ftpgetinfo.c
ftpgetresp.c
ftpupload.c
ftpuploadresume.c
getinfo.c
getinmemory.c
ghiper.c
hiperfifo.c
htmltidy.c
http-post.c
httpcustomheader.c
httpput.c
https.c
imap.c
multi-app.c
multi-debugcallback.c
multi-double.c
multi-post.c
multi-single.c
multithread.c
opensslthreadlock.c
persistant.c
pop3s.c
pop3slist.c
post-callback.c
postit2.c
progressfunc.c
resolve.c
rtsp.c
sampleconv.c
sendrecv.c
sepheaders.c
simple.c
simplepost.c
simplesmtp.c
simplessl.c
smooth-gtk-thread.c
smtp-multi.c
smtp-tls.c
synctime.c
threaded-ssl.c
url2file.c

libcurl offers a vast amount of options to the curl_easy_setopt() function, and here's a list that helps you find which examples that use specific options.

If there's no example listed for the given option, please consider to write one up and send us for future reference! Note that the list of options exclude the few ones that are marked as deprecated.

OptionExamples
CURLOPT_ACCEPTTIMEOUT_MS 
CURLOPT_ACCEPT_ENCODING 
CURLOPT_ADDRESS_SCOPE 
CURLOPT_APPENDftpuploadresume.c
CURLOPT_AUTOREFERER 
CURLOPT_BUFFERSIZE 
CURLOPT_CAINFOsmtp-tls.c simplessl.c
CURLOPT_CAPATHhttps.c pop3slist.c smtp-tls.c pop3s.c
CURLOPT_CERTINFOcertinfo.c
CURLOPT_CHUNK_BGN_FUNCTIONftp-wildcard.c
CURLOPT_CHUNK_DATAftp-wildcard.c
CURLOPT_CHUNK_END_FUNCTIONftp-wildcard.c
CURLOPT_CLOSESOCKETDATA 
CURLOPT_CLOSESOCKETFUNCTION 
CURLOPT_CONNECTTIMEOUTghiper.c
CURLOPT_CONNECTTIMEOUT_MS 
CURLOPT_CONNECT_ONLYsendrecv.c
CURLOPT_CONV_FROM_NETWORK_FUNCTIONsampleconv.c
CURLOPT_CONV_FROM_UTF8_FUNCTIONsampleconv.c
CURLOPT_CONV_TO_NETWORK_FUNCTIONsampleconv.c
CURLOPT_COOKIE 
CURLOPT_COOKIEFILEcookie_interface.c
CURLOPT_COOKIEJAR 
CURLOPT_COOKIELISTcookie_interface.c
CURLOPT_COOKIESESSION 
CURLOPT_COPYPOSTFIELDS 
CURLOPT_CRLF 
CURLOPT_CRLFILE 
CURLOPT_CUSTOMREQUEST 
CURLOPT_DEBUGDATAdebug.c
CURLOPT_DEBUGFUNCTIONdebug.c multi-debugcallback.c
CURLOPT_DIRLISTONLY 
CURLOPT_DNS_CACHE_TIMEOUT 
CURLOPT_DNS_SERVERS 
CURLOPT_EGDSOCKET 
CURLOPT_ERRORBUFFERghiper.c hiperfifo.c htmltidy.c evhiperfifo.c
CURLOPT_FAILONERROR 
CURLOPT_FILEurl2file.c
CURLOPT_FILETIMEftpgetinfo.c
CURLOPT_FNMATCH_DATA 
CURLOPT_FNMATCH_FUNCTION 
CURLOPT_FOLLOWLOCATIONghiper.c
CURLOPT_FORBID_REUSE 
CURLOPT_FRESH_CONNECT 
CURLOPT_FTPPORTftpuploadresume.c
CURLOPT_FTPSSLAUTH 
CURLOPT_FTP_ACCOUNT 
CURLOPT_FTP_ALTERNATIVE_TO_USER 
CURLOPT_FTP_CREATE_MISSING_DIRSftpuploadresume.c
CURLOPT_FTP_FILEMETHOD 
CURLOPT_FTP_RESPONSE_TIMEOUTftpuploadresume.c
CURLOPT_FTP_SKIP_PASV_IP 
CURLOPT_FTP_SSL_CCC 
CURLOPT_FTP_USE_EPRT 
CURLOPT_FTP_USE_EPSV 
CURLOPT_FTP_USE_PRET 
CURLOPT_GSSAPI_DELEGATION 
CURLOPT_HEADERftpgetinfo.c persistant.c ftpuploadresume.c cacertinmem.c 10-at-a-time.c
CURLOPT_HEADERFUNCTIONftpgetinfo.c ftpuploadresume.c cacertinmem.c synctime.c ftpgetresp.c
CURLOPT_HTTP200ALIASES 
CURLOPT_HTTPAUTHanyauthput.c
CURLOPT_HTTPGET 
CURLOPT_HTTPHEADERcurlx.c httpcustomheader.c multi-post.c post-callback.c postit2.c
CURLOPT_HTTPPOSTmulti-post.c postit2.c
CURLOPT_HTTPPROXYTUNNEL 
CURLOPT_HTTP_CONTENT_DECODING 
CURLOPT_HTTP_TRANSFER_DECODING 
CURLOPT_HTTP_VERSION 
CURLOPT_IGNORE_CONTENT_LENGTH 
CURLOPT_INFILE 
CURLOPT_INFILESIZEftpupload.c
CURLOPT_INFILESIZE_LARGEanyauthput.c httpput.c ftpupload.c fileupload.c
CURLOPT_INTERFACE 
CURLOPT_INTERLEAVEDATA 
CURLOPT_INTERLEAVEFUNCTION 
CURLOPT_IOCTLDATAanyauthput.c
CURLOPT_IOCTLFUNCTIONanyauthput.c
CURLOPT_IPRESOLVE 
CURLOPT_ISSUERCERT 
CURLOPT_KEYPASSWDsimplessl.c
CURLOPT_KRBLEVEL 
CURLOPT_LOCALPORT 
CURLOPT_LOCALPORTRANGE 
CURLOPT_LOW_SPEED_LIMITghiper.c evhiperfifo.c
CURLOPT_LOW_SPEED_TIMEghiper.c evhiperfifo.c
CURLOPT_MAIL_FROMsimplesmtp.c smtp-tls.c smtp-multi.c
CURLOPT_MAIL_RCPTsimplesmtp.c smtp-tls.c smtp-multi.c
CURLOPT_MAXCONNECTS 
CURLOPT_MAXFILESIZE 
CURLOPT_MAXFILESIZE_LARGE 
CURLOPT_MAXREDIRS 
CURLOPT_MAX_RECV_SPEED_LARGE 
CURLOPT_MAX_SEND_SPEED_LARGE 
CURLOPT_NETRC 
CURLOPT_NETRC_FILE 
CURLOPT_NEW_DIRECTORY_PERMS 
CURLOPT_NEW_FILE_PERMS 
CURLOPT_NOBODYftpgetinfo.c ftpuploadresume.c synctime.c
CURLOPT_NOPROGRESSghiper.c hiperfifo.c externalsocket.c sepheaders.c htmltidy.c evhiperfifo.c url2file.c cacertinmem.c rtsp.c curlgtk.c progressfunc.c
CURLOPT_NOPROXY 
CURLOPT_NOSIGNALcacertinmem.c
CURLOPT_OPENSOCKETDATAexternalsocket.c
CURLOPT_OPENSOCKETFUNCTIONexternalsocket.c
CURLOPT_PASSWORDsmtp-tls.c smtp-multi.c
CURLOPT_PORT 
CURLOPT_POSTpost-callback.c
CURLOPT_POSTFIELDScurlx.c simplepost.c http-post.c
CURLOPT_POSTFIELDSIZEcurlx.c simplepost.c post-callback.c
CURLOPT_POSTFIELDSIZE_LARGEpost-callback.c
CURLOPT_POSTQUOTEftpupload.c
CURLOPT_POSTREDIR 
CURLOPT_PREQUOTE 
CURLOPT_PRIVATEghiper.c hiperfifo.c evhiperfifo.c 10-at-a-time.c
CURLOPT_PROGRESSDATAghiper.c hiperfifo.c evhiperfifo.c curlgtk.c progressfunc.c
CURLOPT_PROGRESSFUNCTIONghiper.c hiperfifo.c evhiperfifo.c curlgtk.c progressfunc.c
CURLOPT_PROTOCOLS 
CURLOPT_PROXYsynctime.c
CURLOPT_PROXYAUTH 
CURLOPT_PROXYPASSWORD 
CURLOPT_PROXYPORT 
CURLOPT_PROXYTYPE 
CURLOPT_PROXYUSERNAME 
CURLOPT_PROXYUSERPWDsynctime.c
CURLOPT_PROXY_TRANSFER_MODE 
CURLOPT_PUThttpput.c
CURLOPT_QUOTE 
CURLOPT_RANDOM_FILE 
CURLOPT_RANGErtsp.c
CURLOPT_READFUNCTIONanyauthput.c ftpuploadresume.c httpput.c ftpupload.c simplesmtp.c post-callback.c smtp-tls.c smtp-multi.c curlgtk.c
CURLOPT_REDIR_PROTOCOLS 
CURLOPT_REFERER 
CURLOPT_RESOLVEresolve.c
CURLOPT_RESUME_FROM 
CURLOPT_RESUME_FROM_LARGE 
CURLOPT_RTSP_CLIENT_CSEQ 
CURLOPT_RTSP_REQUESTrtsp.c
CURLOPT_RTSP_SERVER_CSEQ 
CURLOPT_RTSP_SESSION_ID 
CURLOPT_RTSP_STREAM_URIrtsp.c
CURLOPT_RTSP_TRANSPORTrtsp.c
CURLOPT_SEEKDATA 
CURLOPT_SEEKFUNCTION 
CURLOPT_SHARE 
CURLOPT_SOCKOPTDATA 
CURLOPT_SOCKOPTFUNCTIONexternalsocket.c
CURLOPT_SOCKS5_GSSAPI_NEC 
CURLOPT_SOCKS5_GSSAPI_SERVICE 
CURLOPT_SSH_AUTH_TYPES 
CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 
CURLOPT_SSH_KEYDATA 
CURLOPT_SSH_KEYFUNCTION 
CURLOPT_SSH_KNOWNHOSTS 
CURLOPT_SSH_PRIVATE_KEYFILE 
CURLOPT_SSH_PUBLIC_KEYFILE 
CURLOPT_SSLCERTsimplessl.c
CURLOPT_SSLCERTTYPEcacertinmem.c simplessl.c
CURLOPT_SSLENGINEsimplessl.c
CURLOPT_SSLENGINE_DEFAULTsimplessl.c
CURLOPT_SSLKEYsimplessl.c
CURLOPT_SSLKEYTYPEsimplessl.c
CURLOPT_SSLVERSIONsmtp-multi.c
CURLOPT_SSL_CIPHER_LIST 
CURLOPT_SSL_CTX_DATAcurlx.c
CURLOPT_SSL_CTX_FUNCTIONcurlx.c cacertinmem.c
CURLOPT_SSL_SESSIONID_CACHEsmtp-multi.c
CURLOPT_SSL_VERIFYHOSTthreaded-ssl.c https.c pop3slist.c smtp-tls.c pop3s.c smtp-multi.c certinfo.c
CURLOPT_SSL_VERIFYPEERthreaded-ssl.c https.c pop3slist.c cacertinmem.c smtp-tls.c simplessl.c pop3s.c smtp-multi.c certinfo.c
CURLOPT_STDERR 
CURLOPT_TCP_NODELAY 
CURLOPT_TELNETOPTIONS 
CURLOPT_TFTP_BLKSIZE 
CURLOPT_TIMECONDITION 
CURLOPT_TIMEOUT 
CURLOPT_TIMEOUT_MS 
CURLOPT_TIMEVALUE 
CURLOPT_TLSAUTH_PASSWORD 
CURLOPT_TLSAUTH_TYPE 
CURLOPT_TLSAUTH_USERNAME 
CURLOPT_TRANSFERTEXT 
CURLOPT_TRANSFER_ENCODING 
CURLOPT_UNRESTRICTED_AUTH 
CURLOPT_UPLOADanyauthput.c ftpuploadresume.c httpput.c ftpupload.c multi-app.c fileupload.c
CURLOPT_URLghiper.c threaded-ssl.c multi-double.c ftpget.c hiperfifo.c multi-single.c ftpgetinfo.c persistant.c https.c curlx.c anyauthput.c sendrecv.c ftpuploadresume.c chkspeed.c externalsocket.c pop3slist.c httpput.c multithread.c sepheaders.c ftpupload.c htmltidy.c cookie_interface.c simplesmtp.c httpcustomheader.c simplepost.c smooth-gtk-thread.c debug.c fopen.c evhiperfifo.c multi-post.c http-post.c url2file.c cacertinmem.c post-callback.c synctime.c ftp-wildcard.c getinmemory.c smtp-tls.c simple.c imap.c simplessl.c pop3s.c multi-app.c fileupload.c multi-debugcallback.c ftpgetresp.c 10-at-a-time.c smtp-multi.c rtsp.c curlgtk.c sampleconv.c progressfunc.c resolve.c getinfo.c postit2.c certinfo.c
CURLOPT_USERAGENTchkspeed.c synctime.c getinmemory.c
CURLOPT_USERNAMEsmtp-tls.c smtp-multi.c
CURLOPT_USERPWDanyauthput.c pop3slist.c imap.c pop3s.c
CURLOPT_USE_SSLsmtp-tls.c smtp-multi.c
CURLOPT_VERBOSEghiper.c ftpget.c hiperfifo.c ftpgetinfo.c persistant.c ftpuploadresume.c externalsocket.c htmltidy.c cookie_interface.c httpcustomheader.c debug.c fopen.c evhiperfifo.c multi-post.c url2file.c cacertinmem.c post-callback.c ftp-wildcard.c smtp-tls.c fileupload.c multi-debugcallback.c 10-at-a-time.c smtp-multi.c rtsp.c certinfo.c
CURLOPT_WILDCARDMATCHftp-wildcard.c
CURLOPT_WRITEFUNCTIONghiper.c ftpget.c hiperfifo.c ftpuploadresume.c chkspeed.c externalsocket.c sepheaders.c htmltidy.c smooth-gtk-thread.c fopen.c evhiperfifo.c url2file.c cacertinmem.c synctime.c ftp-wildcard.c getinmemory.c ftpgetresp.c 10-at-a-time.c curlgtk.c certinfo.c
CURLOPT_WRITEHEADERsepheaders.c cacertinmem.c simplessl.c ftpgetresp.c rtsp.c

Out of the 191 options, 108 are not used by any example

donate! Page updated January 16, 2012.
web site info

File upload with ASP.NET