login about faq

I'm a little perplexed by error handling/reporting with the Chilkat components. All of the LastError... properties contain information that is suitable for the developer, not for the user, though there's a usable error message hidden in there. Is there something I'm missing for getting just the basic error message and/or code?

For example, if ftp2.ChangeRemoteDir fails, the LastErrorXml has the error message "550 The system cannot find the file specified", which I'd like to report. That's wrapped in a tag that's specific to the ChangeRemoteDir method, so in order to parse out the error message I have to work out, for each method I use, what the tag name is going to be that I need to look at in the XML. Is there not some general way to get the information?

asked Mar 29 '13 at 16:12

WilliamW's gravatar image


To make things easier, a new "LastReply" property has been added to the next version to be released (v9.4.1). This will contain the last control-channel status reply, such as "550 The system cannot find the file specified". Please let me know if you would like a pre-release build. If so, please be very specific about which build: programming language, operating system, architecture, framework, etc.


answered Mar 30 '13 at 16:48

chilkat's gravatar image

chilkat ♦♦

Thanks for that. I'll wait for the release. I'm not currently using that many different commands that produce errors, so I've already worked in code to parse the XML and get the response. The new property will be a nice addition though.

(Apr 01 '13 at 09:57) WilliamW

When will be available v9.4.1 (for php) approximately? I'm waiting for this feature!


answered Apr 01 '13 at 15:16

dss's gravatar image


It will be also available in Http module? For simple get error messages like "HTTP/1.1 403 Forbidden" etc.


answered Apr 13 '13 at 17:42

ekapek's gravatar image


Any idea when v9.4.1 will be available? My new app will be wrapped up in the next month or two and I would really like to be able to use the LastReply feature.



answered Apr 17 '13 at 20:20

KeithTX's gravatar image


Hopefully in the next month..

(Apr 18 '13 at 09:45) chilkat ♦♦

Will this property be available for IMAP/POP/SMTP (ActiveX)?

I have just downloaded prerelease and cannot find it for ChilkatEmail2.



answered Apr 30 '13 at 03:36

Digdiver's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Mar 29 '13 at 16:12

Seen: 1,249 times

Last updated: Apr 30 '13 at 03:36

powered by OSQA