Как получить размер файла после ftp'ing? - PullRequest
0 голосов
/ 28 июля 2010
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 Ответ

1 голос
/ 28 июля 2010

CFtpFileFind, кажется, происходит от CFileFind, который имеет GetLengh().

...