I am using Rebex FTP componenet to download the files from FTP server. Here is my code
Dim fileSet As New FileSet("/", "*", TraversalMode.Recursive)
Dim list As FtpItemCollection = client.GetItems(fileSet)
But when my code comes to the second line it is throwing the below error:
"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."
I have checked my log file, the FTP client connects to the FTP server and after 50-55 seconds it fails with the above error.
Not sure where its going wrong.
Your help is much apreciated.