Home | History | Annotate | only in /external/curl/docs/examples
Up to higher level directory
NameDateSize
.gitignore21-Oct-2016777
10-at-a-time.c21-Oct-20165.1K
adddocsref.pl21-Oct-2016874
anyauthput.c21-Oct-20165K
asiohiper.cpp21-Oct-201612.6K
cacertinmem.c21-Oct-20166.7K
certinfo.c21-Oct-20162.3K
chkspeed.c21-Oct-20166.1K
cookie_interface.c21-Oct-20163.9K
curlgtk.c21-Oct-20162.9K
curlx.c21-Oct-201615.7K
debug.c21-Oct-20164K
evhiperfifo.c21-Oct-201611.8K
externalsocket.c21-Oct-20164.4K
fileupload.c21-Oct-20162.6K
fopen.c21-Oct-201613.6K
ftp-wildcard.c21-Oct-20164.1K
ftpget.c21-Oct-20162.8K
ftpgetinfo.c21-Oct-20162.9K
ftpgetresp.c21-Oct-20162.5K
ftpsget.c21-Oct-20163.1K
ftpupload.c21-Oct-20164.5K
ftpuploadresume.c21-Oct-20164.7K
getinfo.c21-Oct-20161.8K
getinmemory.c21-Oct-20163.2K
ghiper.c21-Oct-201611.7K
hiperfifo.c21-Oct-201611.6K
href_extractor.c21-Oct-20162.6K
htmltidy.c21-Oct-20164K
htmltitle.cpp21-Oct-20166.2K
http-post.c21-Oct-20161.9K
http2-download.c21-Oct-20167.6K
http2-upload.c21-Oct-20169.3K
httpcustomheader.c21-Oct-20162.2K
httpput.c21-Oct-20163.6K
https.c21-Oct-20162.5K
imap-append.c21-Oct-20163.5K
imap-copy.c21-Oct-20162.3K
imap-create.c21-Oct-20162K
imap-delete.c21-Oct-20162K
imap-examine.c21-Oct-20162K
imap-fetch.c21-Oct-20161.9K
imap-list.c21-Oct-20162K
imap-lsub.c21-Oct-20162K
imap-multi.c21-Oct-20164.7K
imap-noop.c21-Oct-20161.9K
imap-search.c21-Oct-20162.3K
imap-ssl.c21-Oct-20163.2K
imap-store.c21-Oct-20162.6K
imap-tls.c21-Oct-20163.4K
Makefile.am21-Oct-20162.2K
makefile.dj21-Oct-20161.7K
Makefile.example21-Oct-20161.9K
Makefile.inc21-Oct-20162.4K
Makefile.m3221-Oct-20167.6K
Makefile.netware21-Oct-201610.8K
multi-app.c21-Oct-20165.1K
multi-debugcallback.c21-Oct-20166K
multi-double.c21-Oct-20163.9K
multi-post.c21-Oct-20165.1K
multi-single.c21-Oct-20163.1K
multi-uv.c21-Oct-20165.9K
multithread.c21-Oct-20162.6K
opensslthreadlock.c21-Oct-20162.7K
persistant.c21-Oct-20162.1K
pop3-dele.c21-Oct-20162.1K
pop3-list.c21-Oct-20161.9K
pop3-multi.c21-Oct-20164.7K
pop3-noop.c21-Oct-20162K
pop3-retr.c21-Oct-20161.9K
pop3-ssl.c21-Oct-20163.2K
pop3-stat.c21-Oct-20162.1K
pop3-tls.c21-Oct-20163.4K
pop3-top.c21-Oct-20162K
pop3-uidl.c21-Oct-20161.9K
post-callback.c21-Oct-20164.7K
postinmemory.c21-Oct-20163.3K
postit2.c21-Oct-20163.5K
progressfunc.c21-Oct-20163.9K
README21-Oct-20164K
resolve.c21-Oct-20161.8K
rtsp.c21-Oct-20168.3K
sampleconv.c21-Oct-20163.3K
sendrecv.c21-Oct-20163.6K
sepheaders.c21-Oct-20162.6K
sessioninfo.c21-Oct-20163K
sftpget.c21-Oct-20163.2K
simple.c21-Oct-20161.6K
simplepost.c21-Oct-20161.8K
simplessl.c21-Oct-20164.5K
smooth-gtk-thread.c21-Oct-20166.1K
smtp-expn.c21-Oct-20162.5K
smtp-mail.c21-Oct-20164.7K
smtp-multi.c21-Oct-20166.9K
smtp-ssl.c21-Oct-20165.6K
smtp-tls.c21-Oct-20166.1K
smtp-vrfy.c21-Oct-20162.5K
synctime.c21-Oct-201612.4K
threaded-ssl.c21-Oct-20164.2K
url2file.c21-Oct-20162.3K
usercertinmem.c21-Oct-20169K
version-check.pl21-Oct-20162.6K
xmlstream.c21-Oct-20164.8K

README

      1                                   _   _ ____  _
      2                               ___| | | |  _ \| |
      3                              / __| | | | |_) | |
      4                             | (__| |_| |  _ <| |___
      5                              \___|\___/|_| \_\_____|
      6 
      7 This directory is for libcurl programming examples. They are meant to show
      8 some simple steps on how you can build your own application to take full
      9 advantage of libcurl.
     10 
     11 If you end up with other small but still useful example sources, please mail
     12 them for submission in future packages and on the web site.
     13 
     14 BUILDING
     15 
     16 The Makefile.example is an example makefile that could be used to build these
     17 examples. Just edit the file according to your system and requirements first.
     18 
     19 Most examples should build fine using a command line like this:
     20 
     21   $ `curl-config --cc --cflags --libs` -o example example.c
     22 
     23 Some compilers don't like having the arguments in this order but instead
     24 want you do reorganize them like:
     25 
     26   $ `curl-config --cc` -o example example.c `curl-config --cflags --libs`
     27 
     28 *PLEASE* do not use the curl.haxx.se site as a test target for your libcurl
     29 applications/experiments. Even if some of the examples use that site as a URL
     30 at some places, it doesn't mean that the URLs work or that we expect you to
     31 actually torture our web site with your tests!  Thanks.
     32 
     33 EXAMPLES
     34 
     35 anyauthput.c   - HTTP PUT using "any" authentication method
     36 cacertinmem.c  - Use a built-in PEM certificate to retrieve a https page
     37 cookie_interface.c - shows usage of simple cookie interface
     38 curlgtk.c      - download using a GTK progress bar
     39 curlx.c        - getting file info from the remote cert data
     40 debug.c        - showing how to use the debug callback
     41 fileupload.c   - uploading to a file:// URL
     42 fopen.c        - fopen() layer that supports opening URLs and files
     43 ftpget.c       - simple getting a file from FTP
     44 ftpgetresp.c   - get the response strings from the FTP server
     45 ftpupload.c    - upload a file to an FTP server
     46 ftpuploadresume.c - resume an upload to an FTP server
     47 getinfo.c      - get the Content-Type from the recent transfer
     48 getinmemory.c  - download a file to memory only
     49 ghiper.c       - curl_multi_socket() using code with glib-2
     50 hiperfifo.c    - downloads all URLs written to the fifo, using
     51                  curl_multi_socket() and libevent
     52 htmltidy.c     - download a document and use libtidy to parse the HTML
     53 htmltitle.cc   - download a HTML file and extract the <title> tag from a HTML
     54                  page using libxml
     55 http-post.c    - HTTP POST
     56 httpput.c      - HTTP PUT a local file
     57 https.c        - simple HTTPS transfer
     58 imap.c         - simple IMAP transfer
     59 multi-app.c    - a multi-interface app
     60 multi-debugcallback.c - a multi-interface app using the debug callback
     61 multi-double.c - a multi-interface app doing two simultaneous transfers
     62 multi-post.c   - a multi-interface app doing a multipart formpost
     63 multi-single.c - a multi-interface app getting a single file
     64 multi-uv.c     - a multi-interface app using libuv
     65 multithread.c  - an example using multi-treading transferring multiple files
     66 opensslthreadlock.c - show how to do locking when using OpenSSL multi-threaded
     67 persistant.c   - request two URLs with a persistent connection
     68 pop3s.c        - POP3S transfer
     69 pop3slist.c    - POP3S LIST
     70 post-callback.c - send a HTTP POST using a callback
     71 postit2.c      - send a HTTP multipart formpost
     72 sampleconv.c   - showing how a program on a non-ASCII platform would invoke
     73                  callbacks to do its own codeset conversions instead of using
     74                  the built-in iconv functions in libcurl
     75 sepheaders.c   - download headers to a separate file
     76 simple.c       - the most simple download a URL source
     77 simplepost.c   - HTTP POST
     78 simplessl.c    - HTTPS example with certificates many options set
     79 synctime.c     - Sync local time by extracting date from remote HTTP servers
     80 url2file.c     - download a document and store it in a file
     81 xmlstream.c    - Stream-parse a document using the streaming Expat parser
     82 10-at-a-time.c - Download many files simultaneously, 10 at a time.
     83