cURL / Mailing Lists / curl-library / Single Mail

curl-library

Get one filename-- C++

From: Josh Dye <josh.jpenguin_at_gmail.com>
Date: Mon, 24 Nov 2008 18:16:44 -0800

Hi, I am doing some work for an open-source game. I am working on an
addon manage, i need to be able to get each files name, and print out
each one that ends with 'tbz'.

    1. for (int num; !end-of-ftp-directory-list; num++)
    2. {
    3. filename = ftpfile[num];
    4. if (filename.extension== "tbz")
    5. {
    6. cout >> filname >> "\n";
    7. }
    8. )

That is just the beginning of what I will be doing, but I need this
function first
Received on 2008-11-25