2010-07-27 46 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