Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Exception on List method
User694

Posts: 3
Member Since: 06/12/01
posted June 12, 2001 9:47 AM

I have a little application which retrieves files from an FTP server. In general it works fine, but on one particular server I'm getting an exception thrown when I call the list method.

I have created an instance of the object using an ATL import; I haven't provided it an event interface or any GUI (the application is meant to be a service).

I connect fine, but on using List or NameList an exception is fired. It isn't a COleException, I'm just catching the generic (...)

The application works fine on every server we have tried except for this one. The server appears to work fine using the command line tool, although it does return some odd errors occaisionally during file listings.

Do I need to provide additional interfaces to the object to get it to work under error-prone conditions?

Thanks for any help you can provide.

Morgan Fraser
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted June 12, 2001 9:56 AM


The first thing you need to do is determine what the error is. Without an event interface, you won't be able to get it from the Error event. I would suggest using the sample app to see what happens and maybe that will give you a clue as to what you need to do to recover in your app.

Hope this helps!

Tony Priest
Dart Tech Support
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX