libcurl + OE

Posted by Tim Kuehn on 23-Aug-2016 22:14

I'm looking at integrating libcurl with OE in order to get a cross-platform SFTP client working, and I'm hoping someone's already done this and can share their experience.

All Replies

Posted by Peter Judge on 24-Aug-2016 09:04

Use the HttpClient for cross-platform (or use it as a base).
Libcurl had issues when I tried it for http – there are async issues (callbacks into the AVM from a DLL don’t work and also there was some crashy behavious when trying to write-to-file (known in curl-land but considered a windows problem).

Posted by Tim Kuehn on 24-Aug-2016 09:10

I already use the http classes for that - the solution I'm after is a cross-platform SFTP client.

I'm thinking I may just shell out and do an input-output through for this the way I've done it in the past....

Posted by ChUIMonster on 24-Aug-2016 09:24

While curl *can* be obtained for just about any platform I have found that it is unlikely to be installed on HPUX, Solaris and AIX.  Especially older servers.  Getting the SA to download it and install it can be a chore on those systems too :(

This thread is closed