2010-07-27 63 views
0
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回答ftp'​​ing後如何獲取文件的大小?

finder.GetLength();

回答

1

CFtpFileFind似乎來自CFileFind它有一個GetLengh()

+0

啊,我明白這是如何工作的,謝謝。我需要繼承更多..... – 2010-07-27 21:44:16