login about faq

Hi,

I'm using the SFTP example code, and the CkSFtp_Connect() calls causes a EXC_BAD_ADDR when executed. According to XCode7 (v7.2) dump, the pb lies in ChilkatBigNum::ssh2_mpint_fmt()

The code is the one publsihed as example : // Set some timeouts, in milliseconds: CkSFtp_putConnectTimeoutMs(sftp,5000); CkSFtp_putIdleTimeoutMs(sftp,10000);

//  Connect to the SSH server.
//  The standard SSH port = 22
//  The hostname may be a hostname or IP address.

hostname = "80.94.177.214";
port = 22;
success = CkSFtp_Connect(sftp,hostname,port);
if (success != TRUE) {
    printf("%s\n",CkSFtp_lastErrorText(sftp));
       CkSFtp_Dispose(sftp);
    return;
}

I'm using 9.5.0 macosx, langage is C

Thks!

PhC

asked Dec 25 '15 at 00:45

PhC's gravatar image

PhC
1


Sorry for the late reply. I hope you had a very Merry Christmas!

I tested it myself, but was not able to reproduce the problem. Please check to see if this new build resolves the problem. (Maybe something internal changed at some point that resolves it..)

C/C++ build: http://www.chilkatsoft.com/download/preRelease/chilkat-9.5.0-macosx.zip

C/C++11 build: http://www.chilkatsoft.com/download/preRelease/chilkat-9.5.0-macosx-cpp11.zip

link

answered Dec 28 '15 at 18:49

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×200

Asked: Dec 25 '15 at 00:45

Seen: 404 times

Last updated: Dec 28 '15 at 18:49

powered by OSQA