Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.6k views
in .NET FTP by (120 points)
When attempting to connect to an FTP Server using "Connect()" the component hangs.

The log file contains the following when debugging.
"DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 13 Mar 2006 14:00:22.552 : Connecting to 192.168.0.1:21"

No exceptions are thrown it just hangs permanently.

1 Answer

0 votes
by (51.6k points)
Are you using FTPClient or FTPConnection? If you are using FTPConnection, do you have a "Connected" event-handler? Otherwise, try setting the Timeout property to, say 10000ms.

- Hans (EDT)

Categories

...