Quantcast
Channel: Chilkat Tech Notes
Browsing all 414 articles
Browse latest View live

AWS Reference Documentation — Sample Requests and Responses are Important

The AWS Reference Documentation is not consistent.  In some cases, the documentation provides a sample request and sample response.  The samples are extremely helpful, and make it easy to implement the...

View Article


Chilkat v9.5.0.93 Release Notes

Previous Version: https://cknotes.com/chilkat-v9-5-0-92-release-notes/ Chilkat v9.5.0.93 Release Notes PDF: Fixed more issues with LTV signatures, where sometimes Acrobat DC did not consider the signed...

View Article


Image may be NSFW.
Clik here to view.

office365.com SMTP, POP3, IMAP OAuth2 Tips, Hints, and Solutions

This page will be updated as time progresses with what we’ve learned about getting things working with OAuth2 authentication for office365.com using the email protocols: SMTP, POP3, and IMAP. How do...

View Article

Delphi Binary Data

This post shows some code snippets for getting data from Delphi Byte arrays (TBytes) and TMemoryStream’s in and out of Chilkat. First, here are some code snippets to convert from a TMemoryStream to a...

View Article

C++ CkHttp AbortCheck Callback

Chilkat classes that involve network communications can use callbacks. This blog post describes the CkHttp AbortCheck callback. An application can request periodic AbortCheck callbacks according to the...

View Article


Chilkat v9.5.0.94 Release Notes

Previous Version: https://cknotes.com/chilkat-v9-5-0-93-release-notes/ Chilkat v9.5.0.94 Release Notes FTP2: Fixed problems with some FileZilla FTP servers requiring TLS 1.3 session resumption for the...

View Article

Different Ways to Include Related Images in HTML Email

There are a few different ways related images can be contained in the MIME of HTML email. The 1st is by Content-Location.  The following MIME shows the use of Content-Location.  The URL contained in...

View Article

LoadPfxFile Takes a Long Time to Load?

Question: I’m using the LoadPfxFile method of the cert object and it takes about 4 or 5 seconds in load the PFX certificate. On the other hand, if I sign the document using an installed certificate,...

View Article


Does XML Convert to JSON in an Unambiguous Way?

Chilkat does not provide functionality for XML-to-JSON conversion (or the reverse) because XML does not convert to JSON in an unambiguous way. XML and JSON have different structural and data modeling...

View Article


How to Send application/x-www-form-urlencoded POST to a URL with some Params

Question I need to get a token: URL TEST : "https://apitest.dtes.mh.gob.sv/seguridad/auth" Method : POST Parameters Headers Content-type : application/x-www-form-urlencoded Body user (string) pwd...

View Article

How to Convert Speech to Text using Google Speech-to-Text REST API

There are two possible ways to write the code. (1) Upload the Audio File to Google Cloud Storage First write code to upload the audio file to Google Cloud Storage. For example, see: AutoIt Upload File...

View Article

Image may be NSFW.
Clik here to view.

Generate Chilkat Code from PostMan

This is a way to generate Chilkat source code from a working PostMan request: Open Postman: Launch the Postman application on your computer. Create or Import a Request: Create a new request or import...

View Article

SFTP Server Responds with SSH_FX_NO_SUCH_FILE when trying to OpenFile

If your application calls Chilkat’s SFtp.OpenFile, and it fails because the server responded with SSH_FX_NO_SUCH_FILE, it means the file does not exist on the server. Trust that this is correct — the...

View Article


Getting an OAuth2 access token using “client credentials” does not require...

The “client credentials” OAuth2 flow is allowed by many REST API’s for the case where a program is running in a non-interactive environment. It’s simply an HTTP POST where the client_id and...

View Article

Handling Emails with Unusual or Unconventional MIME Structure

In rare cases, an email’s MIME might be structured in a way that is highly unusual and doesn’t follow conventions. In other words, the nested MIME structure of an email should follow conventions that...

View Article


AES-CMAC Keyed Hash Algorithm

The AES-CMAC keyed hash function, see https://www.rfc-editor.org/rfc/rfc4493, has been added to Chilkat for the next version release (v9.5.0.95). Here are some examples: AutoIt AES-CMAC C AES-CMAC...

View Article

Quickly Understanding the MIME Format of Email

The format of email is MIME. A simple MIME message consists of headers followed by a body.  For example, here’s a simple text/plain email: From: sender@example.com To: recipient@example.com Subject:...

View Article


Office365 POP3 Authenticate Fails but Previously Succeeded

It’s normal for OAuth2 access tokens to expire after some time, such as 1 hour, and then you’ll need to refresh and retry. For example, this error in the LastErrorText for a call to Pop3Authenticate...

View Article

Amazon SP-API Postman Collections Added to Online Code Generator

Chilkat added some Amazon SP-API Postman collections to the online code generator at https://tools.chilkat.io/postmanCollection The Postman collections were obtained from the Swagger files located at...

View Article

Resolving the Error: Chilkat native code library failed to load. No chilkat...

Question: I have the chilkat.jar & chilkat.dll in my main installation folder. I can get the native library to work in Eclipse. However, when I build my app and install it I get this error: Chilkat...

View Article
Browsing all 414 articles
Browse latest View live