|
-
April 19th, 2001, 11:04 AM
#1
CFtpFindFile Bug
Hello,
I want to know the files on a server. I open the connection with FTP (CInternet Session). And i use this code to extract the files :
CFtpFileFind FtpFileFind(m_pFtpConnection, ID_CONTEXT_FTP_ERROR);
BOOL bAnotherFile = TRUE;
if (FtpFileFind.FindFile("*.*")) {
while (bAnotherFile) {
bAnotherFile = FtpFileFind.FindNextFile();
strList.AddTail(FtpFileFind.GetFileName());
}
}
It s not works on all the Computer, some computers stop on the line FindFile() function.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|