在ftp'ing之后如何获取文件的大小?

时间:2010-07-27 21:23:06

标签: c++ windows ftp wininet

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?

    } 

编辑回答

finder.GetLength();

1 个答案:

答案 0 :(得分:1)

CFtpFileFind似乎派生自CFileFind GetLengh()