Bitvise WinSSHD request “dumb” PTY problem

I’ve found the following scenario when testing SSH shell with the Bitvise WinSSHD server. If a request for a “dumb” pseudo-terminal is sent via the Chilkat SSH component’s SendReqPty method, the WinSSHD server responds with a success status, however, it really fails. The SSHD log has the following error message: 000000000116 2008-11-19 16:29:41.185Z WinSSHD 5.01 [297] Warning Session thread 1014 […]

Chinese Character String Literals in VC++ 8, 9, 10, …

It is possible to use string literals within your C++ code — as long as you save your C++ source file using the utf-8 character encoding. For example, open a .cpp source file and add this line: CkString str1; str1.appendU(L”京”); When you try to save the .cpp source file, you may get a message such as: “Some Unicode characters in […]

Setting the Initialization Vector for Encryption

Question: We’re trying to sync up our Chilkat component with another encryption component but can’t get the initialization vector to match. Is that compiled into the Chilkat module, or can it be changed via a component property? Answer: Yes, the Chilkat encryption component provides the “IV” property. The type depends on the programming language: ActiveX: Variant containing byte array. .NET […]

WSAECONNABORTED An established connection was aborted by the software in your host machine.

Question: Do you have any suggestions on this error? I have all the service packs installed for server 2003. Do I need to send shorter strings? I don’t seem to have any issues with small messages. ChilkatLog: SendString: DllDate: Sep 12 2008 Username: XYZABC Component: .NET 2.0 NumChars: 502583 Charset: ansi NumBytes: 502583 SocketError: WSAECONNABORTED An established connection was aborted […]

ASCII Mode in SFTP? (Secure File Transfer over SSH)

SFTP is not in any way related to FTP. FTP is the “File Transfer Protocol” whereas SFTP is a subsystem of the SSH protocol. SFTP is a protocol for file transfer over SSH. (Not to be confused with “FTPS”, which is the FTP protocol over SSL/TLS.) Most people familiar with FTP know about transfer modes: binary and ASCII. A file […]

SMTPQ max threads?

Question: With the SMTPQ service, do you have some guidelines on the best practice settings for the number of threads required for sending different quantities of email? Answer: The SMTPQ is an SMTP client, and thus it connects to SMTP servers to send email. However, it may be configured to use any number of threads so theoretically each thread may […]

POP3 SSH Tunneling (Port Forwarding)

ASP: POP3 SSH Tunneling (Port Forwarding) SQL Server: POP3 SSH Tunneling (Port Forwarding) C#: POP3 SSH Tunneling (Port Forwarding) C++: POP3 SSH Tunneling (Port Forwarding) MFC: POP3 SSH Tunneling (Port Forwarding) C: POP3 SSH Tunneling (Port Forwarding) Delphi: POP3 SSH Tunneling (Port Forwarding) Visual FoxPro: POP3 SSH Tunneling (Port Forwarding) Java: POP3 SSH Tunneling (Port Forwarding) Perl: POP3 SSH Tunneling […]

SMTP SSH Tunneling (Port Forwarding)

ASP: SMTP SSH Tunneling (Port Forwarding) SQL Server: SMTP SSH Tunneling (Port Forwarding) C#: SMTP SSH Tunneling (Port Forwarding) C++: SMTP SSH Tunneling (Port Forwarding) MFC: SMTP SSH Tunneling (Port Forwarding) C: SMTP SSH Tunneling (Port Forwarding) Delphi: SMTP SSH Tunneling (Port Forwarding) Visual FoxPro: SMTP SSH Tunneling (Port Forwarding) Java: SMTP SSH Tunneling (Port Forwarding) Perl: SMTP SSH Tunneling […]

IMAP SSH Tunneling (Port Forwarding)

ASP: IMAP SSH Tunneling (Port Forwarding) SQL Server: IMAP SSH Tunneling (Port Forwarding) C#: IMAP SSH Tunneling (Port Forwarding) C++: IMAP SSH Tunneling (Port Forwarding) MFC: IMAP SSH Tunneling (Port Forwarding) C: IMAP SSH Tunneling (Port Forwarding) Delphi: IMAP SSH Tunneling (Port Forwarding) Visual FoxPro: IMAP SSH Tunneling (Port Forwarding) Java: IMAP SSH Tunneling (Port Forwarding) Perl: IMAP SSH Tunneling […]

POP3 Headers and Attachment Info

The POP3 protocol is not very feature rich. To download an email “header” the POP3 client must issue a “TOP” command. The following text is from RFC 1939 and describes the response to the TOP command: … After the initial +OK, the POP3 server sends the headers of the message, the blank line separating the headers from the body, and […]