' FTP setup loFtpWebRequest = System.Net.FtpWebRequest.Create(New Uri(lcURI)) loFtpWebRequest.Credentials = New System.Net.NetworkCredential(cUsername, cPassword) loFtpWebRequest.Method = System.Net.WebRequestMethods.Ftp.ListDirectoryDetails ' If we use FTP/SSL (AUTH SSL) If nNoFTPProtocol = 2 Then loFtpWebRequest.EnableSsl = True End If loFtpWebResponse = loFtpWebRequest.GetResponse() loStreamReader = New StreamReader(loFtpWebResponse.GetResponseStream()) ' Load the files into the string builder loStringBuilder.LoadString(loStreamReader.ReadToEnd()) ' Initialization cDirectoryContentFromFTP = loStringBuilder.oStringBuilder.ToStringAs, if the directory exists, there will be at least an entry for the current directory, or two entries, assuming the current directory is under another directory. Is there any other way to do this better?