I just wrote an application which employes FTP to read and copy files. It worked fine on our test FTP server - which is on our network. We got a new server just for this task and my application which worked flawlessly now hangs up when making a call to read the directory. The statement that causes the hang is
client = listner.AcceptTcpClient();
listner is a TcpListener and client is a TcpClient
I suspect this has something to do with the firewall or with the setup of FTP (interactive FTP works just fine - it just doesn't work from the c# code.) Anyone have a clue here???
client = listner.AcceptTcpClient();
listner is a TcpListener and client is a TcpClient
I suspect this has something to do with the firewall or with the setup of FTP (interactive FTP works just fine - it just doesn't work from the c# code.) Anyone have a clue here???