simple.pas | Simplest CURL program. |
testsave.pas | Example of tCurl's "save to disk" functions |
testcb.pas | Example using tCurl's c-style callbacks. |
testevnt.pas | Example using tCurl's event-based callbacks. |
testput.pas | Example using FTP to upload a file and set its permissions |
testtxcb.pas | Example using the ReadFunction callback to upload a file. |
testpart.pas | Program to test partial transfer requests - not all servers support this! |
testinfo.pas | Shows how to get the stored information about the performance of a transfer. |
testver.pas | Example using the class functions of tCurl to retrieve libcurl's version information. |
testmult.pas | Uses the curl_multi bindings to download two files at the same time. |
testmobj.pas testmthd.pas |
Two examples using the tCurlMulti object to download multiple files at the same time. ( The testmthd program also demonstrates the threaded WaitCallback property. ) |
testpost.pas |
Example using simple HTTP POST variables - This requires that you have a working Apache/PHP server on your local machine, and a copy of the file "testpost.php" in your htdocs directory. |
testmpf1.pas testmpf2.pas |
Two examples of rfc1867 multipart/form-data submissions: testmpf1 uses the curl_formadd library functions. testmpf2 uses the tCurl.FormData property . This requires that you have a working Apache/PHP server on your local machine, and a copy of the file "test1867.php" in you "htdocs" directory. These programs also use the files "sendme.txt" and "sendme.png" -- they should be in the current working directory. |
testcook.pas | Program to show how to list the cookies from an HTTP server. |