We have implemented like the below way to get the directories and files list from FTP client object.
IAsyncResult ar = client.BeginGetList(null, null);
if (isFromObjects == false)
FtpList fileFolderList = client.EndGetList(ar);
Now we have upgraded to latest 2014 R2 version. In the latest version we are getting build errors that the BeginGetList and EndGetList methods are not found in latest 2014 R2 FTP client object.
Earlier we have copied the above code from sample application which Rebex has provided.
Please help me resolve the above issue.