Simple
The program simple.c below illustrates how to use the Ch cURL package to retrieve an HTML file from the web. The program simple.c is ran interpretively under Ch. This program can be found in the directory CHHOME/package/chpng/demos after installation of the Ch cURL package, where CHHOME is the home directory in which Ch is installed.

View The Source Online

Download The Source Code: zip tar

Ftpget
The program ftpget.c below illustrates how to use the Ch cURL package to retrieve a file from an ftp server. The program ftpget.c is ran interpretively under Ch. This program can be found in the directory CHHOME/package/chpng/demos after installation of the Ch cURL package, where CHHOME is the home directory in which Ch is installed.

View The Source Online

Download The Source Code: zip tar