| Dart Home | PowerTCP FTP for .NET | Custom Development | Reply | PowerTCP FTP for .NET Topics | Forums |
| Author | Forum: PowerTCP FTP for .NET Topic: Detect Connect failed |
| rbalvert From: Maarssen, Netherlands Posts: 1 Member Since: 01/16/06 |
posted January 16, 2006 2:38 PM Hi, We are evaluating FTP for .NET and we are used to connect first and then start communications. If we are trying the List method we get an ProtocolException if the logon info was not correct *and/or* if there are no files found. How should we determine if the List() command thrhow an excecption because the login info was incorrect or there were no files (other then parsing the Exception.Message text)? Regards, Rene |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 17, 2006 9:57 AM Login first by using the Invoke method to set the directory (or do a noop). If that works, then you should be connected and can do the List. |
| Reply | PowerTCP FTP for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|