Posted: 13 Sep 2012 11:01 | ||
Registered User Currently Offline |
Posts: 1 Join Date: Sep 2012 |
|
I'm using the FTPComponent in C#. How do I get error information?
I only seem to be able to get status information - in other words boolean fail/success. But if it fails is there no error information to give indication to the reason for failure? _myObject.FTPConnect(9011); if (_myObject.IsFTPSuccess) {...} else { MessageBox.Show("Connect Failed"); } Would be nice to know was it an authentication failure, could the server not be reached, what went wrong. Same holds for the other FTP operations - file uploads and downloads. I'm sure this must be available and I'm just missing it. Can someone point me in the right direction. |
Posted: 13 Sep 2012 20:23 Last Edited By: sysaxsupport | ||
Registered User Currently Offline |
Posts: 13 Join Date: Aug 2012 |
|
Have you tried enabling logging to a file by using SetLogFile? Does that give you additional error information? __________________ -------------------------------------------------------
Secure FTP Server and FTP Script Automation Solutions |