cancel
Showing results for 
Search instead for 
Did you mean: 

Curl SFTP dependencies

SOLVED
Go to solution
Timothy P. Jackson
Valued Contributor

Curl SFTP dependencies

Hello Everyone,

I just installed curl package...

ixCurl_ixCurl_A.20.00-7.28.1.001_HP-UX_B.11.31_IA_PA.depot

and am trying to use SFTP and I get the following error.....

Protocol sftp not supported or disabled in libcurl

Any ideas on  what i need to do to resolve this. The software was downloaded from HP so I figured that all the correct libraries were installed.

Any help would be greatly appreciated!

5 REPLIES
Bill Hassell
Honored Contributor

Re: Curl SFTP dependencies

>> Protocol sftp not supported or disabled in libcurl <<

Looks like you have some work ahead of you.
This protocol seems to be a common libcurl issue:

http://andrewberls.com/blog/post/adding-sftp-support-to-curl
https://curl.haxx.se/docs/faq.html



Bill Hassell, sysadmin
Timothy P. Jackson
Valued Contributor
Solution

Re: Curl SFTP dependencies

Hi Bill,

Thanks for the quick response and sorry it took me this long to respond!

Yes, this was a LOT of work and there is no cookbook for it.

As both of those two documents you need to download libssh2 and compile it as well as cURL and compile it including the libssh2 library. The cURL release that comes with Iexpress is a little outdated so I had to go to the cURL site and use the latest release.

I have a document with the steps that I used in my final compilation of libssh2 and cURL. Hopefully it will help someone in the future NOT to have to go through what I did. :)

Unfortunately, I cant remember how to add a Word document to these posts.... :(

ranganath ramachandra
Esteemed Contributor

Re: Curl SFTP dependencies

Use the "Browse" button under the text box on the "Reply" page (check attached screen-grab).

If it is all text, pasting it right into the message would give easier access to the information.

Dennis Handly
Acclaimed Contributor

Re: Curl SFTP dependencies

>I cant remember how to add a Word document to these posts

 

No need to remember because now you can't.  Unless you add .jpg to the end and let people know to remove it.

(We asked for .txt but that's excluded too.)

https://community.hpe.com/t5/Announcements/Changes-to-File-Attachment-Security-Policy-on-the-Hewlett/td-p/6884253

pooderbill
Valued Contributor

Re: Curl SFTP dependencies

Or save the doc file in .txt format (ie, notepad). Text files should be acceptable but if that fails, just paste the notepad text into a post.