Home Forums .NET libraries Xceed SFTP/FTP for .NET how to get FtpItemInfoList with asynh BeginGetFolderContents

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #20964 |

    I’m trying to get a grip on asynchronous programming, and I’m getting there, but one thing is not making sense to me. I understand the synchronous call FtpClient.GetFolderContents as it returns an FtpItemInfoList, but I don’t understand how to do to this asynchronously with BeginGetFolderContents. Where is the returned item list? Is there an event I’m supposed to listen for?

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by Adam (had 2617 views)

    User (Old forums)
    Member
    Post count: 23064

    Oh, I see, it’s in the EndGetFolderContents call.

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by Adam (had 3755 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.