Set Default Permissions of SFTP Uploaded Files to 664

Question:  How can I set the default permissions of every file uploaded without the need to change the file permissions on the server after the upload?  I want all uploaded files to have permissions 664. Answer: On most servers, the default file permissions should already be 664. To explicitly set the permissions to be used for uploaded files, then the […]

Box.com Service Accounts (user representation of your app)

This post it to better explain what happens when you create an “App” in box.com.   Box will automatically generate a Service Account where the name of the account is the name of your app.  When you make API calls, it is for this service account, and the files that exist and what you see are not the same as your […]

Getting Started with Chilkat Go on Ubuntu Linux

Verify Go is Installed The $GOPATH environment variable should be defined, and “go” should be a command.  The following commands check $GOPATH, check the version of Go, and list the contents of the $GOPATH directory. Download chilkat_go.zip into $GOPATH/src The Chilkat version shown here may not be the latest version of Chilkat.  Get the latest version URL from https://www.chilkatsoft.com/go.asp Unzip […]

Chilkat v9.5.0.91 Release Notes

Previous Version: https://cknotes.com/chilkat-v9-5-0-90-release-notes/ Next Version: https://cknotes.com/chilkat-v9-5-0-92-release-notes/ Chilkat v9.5.0.91 Release Notes Smart Card: Improved automatic recognition and handling for various smart cards. Chilkat.Charset: Fixed behavior when ErrorAction property is set to value 1 to replace non-convertable chars with a pre-specified char. SFtp: Fixed: SyncTreeUpload did not pay attention to the SyncMustMatchDir property. Ssh: Fixed: The ChannelReadAndPoll method incorrectly returned the number […]

Support for Cryptographic card cryptoCertum 3.5

Chilkat recently added support for the cryptoCertum 3.5 smartcard (and also for cryptoCertum3, and cryptoCertum3.2). At the time of this writing (13-July-2022), the support is available in a pre-release of the next version of Chilkat (v9.5.0.92) We have it working on Windows, but should also be able to get it working on Linux and MacOS.    

Deprecation of Basic authentication in Exchange Online

Microsoft is deprecating Basic authentication in Exchange Online, as announced here:  https://docs.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online “This decision requires customers to move from apps that use basic authentication to apps that use Modern authentication. Modern authentication (OAuth 2.0 token-based authorization) has many benefits and improvements that help mitigate the issues in basic authentication. For example, OAuth access tokens have a limited usable lifetime, and […]

SSH/SFTP Public Key Authentication Fails w/ DSA Key and OpenSSH Server

If SSH public key authentication fails when using a DSA private key, it may be that the SSH server disallows using DSA private keys. If the contents of the Chilkat LastErrorText for methods AuthenticatePk or AuthenticatePwPk contains the following, then this could be the cause of the error: … Sent public-key request. AuthList: publickey,password Proceeding with publickey authentication… dssSigLen: 40 […]

Error: OLE error code 0x80020006 Unknown name

If your code using the ActiveX generates the error “Error: OLE error code 0x80020006  Unknown name”, it means no method or property with the given name exists.  Check the Chilkat online reference documentation for the ActiveX to see if the method or property actually exists. Here’s a sample error (in Italian) using FoxPro:    

Error: This operation is not supported with BTT enabled

I haven’t seen this error before.  A Chilkat user reported it, and then quickly found the answer: When trying to Create the Chilkat_9_5_0.http object with this example: https://www.example-code.com/vbscript/curl_username_password.asp , there’s a message that the ActiveX Component can’t create it, because “System:  This operation is not supported with BTT enabled.” The cause of the problem had to do with a 32-bit/64-bit […]

New Security Measures taken by Google concerning “Loopback IP Adresses” or “OAuth out-of-band (oob)”

Question:  I would like to know if Chilkat is affected by the new security measures taken by Google concerning “Loopback IP Adresses” or “OAuth out-of-band (oob)” https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html https://developers.google.com/identity/protocols/oauth2/native-app#redirect-uri_loopback Answer:   Chilkat does not use “oob”, so it’s not an issue. The loopback address, such as “http://localhost:port/”, remains valid if you define your app in the Google Developers Console as a “Desktop […]