CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2001
    Posts
    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


  2. #2
    Join Date
    Jan 2001
    Posts
    175

    Re: CFtpFindFile Bug

    were u able to find out why this happens?


  3. #3
    Join Date
    Jul 2001
    Posts
    6

    HELP !!! CFtpFindFile Bug ?

    I've got exactly the same problem as on some FTP servers (could be UNIX, VMS or Windows...), the program seems to never exit from the function FindFile.
    Any idea ???


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured