curl::option CurlHandle,"FTPLISTONLY"
Setting the parameter tells the library to just list the names of an ftp directory, instead of doing a full directory listin that would include file sizes, dates etc.