gpt4 book ai didi

c++ - 如何在 ftp 后获取文件的大小?

转载 作者:行者123 更新时间:2023-11-28 08:27:40 26 4
gpt4 key购买 nike

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();

最佳答案

CFtpFileFind 似乎派生自 CFileFind,它有一个 GetLengh()

关于c++ - 如何在 ftp 后获取文件的大小?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3348120/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com