views:

25

answers:

1
CFtpFileFind finder(mConnection);
found = finder.FindFile("*.log");

   while (found)
   {
        found = finder.FindNextFile();

        wsprintf(fileInfo, "%s", finder.GetFileName());

        //need file size of this .log 
        //no member function for this in CFTPFileFind class?

    } 

EDIT Answer

finder.GetLength();

+1  A: 

CFtpFileFind seems to derive from CFileFind which has a GetLengh().

pascal
@pascal: Ahhh, I see how that works, thanks. I need to work with inheritance more.....
Tommy