sean | 30 Nov 07:11
Picon

[curlpp:216] Trouble building cURLpp with SSL support

Hi!

I am pretty pumped up to get to work with cURLpp, but I am having
trouble building it with SSL support.  I am on Mac OS X.5.

So far, I have built openSSL, and then libcurl with that.  When I do a
curl--config --feature I get:

SSL
IPv6
libz
NTLM
NTLM_WB

So, I know libcurl has SSL support.  Next, for cURLpp, I do

./autogen.sh
./configure --without-boost
make
make install

The install goes okay, but when I do curlpp-config --feature I see
only libz.  I would like to see SSL there, to ensure I have SSL
support, right?  Here are some things I've tried so far:

-doing curl--config --libs and then including the output of this in
LDFLAGS prior to autogen'ing for cURLpp.
-pasting ssl's path, /usr/local/ssl , pretty much anywhere I can think
of (like CXXFLAGS, etc.).
-some other last resort moves, not proud of them.
(Continue reading)

Picon

[curlpp:215] help with sftp

Hi!! list, good morning

I having some problems to get a conexion with sftp , it told me this :
Maybe the library does not sopport the sftp or is disable .

Some idea about it ?

does anybody have example to get a conexion sftp  ?

thnks

--

-- 
You received this message because you are subscribed to the Google Groups "curlpp" group.
To post to this group, send email to curlpp@...
To unsubscribe from this group, send email to curlpp+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/curlpp?hl=en.

Picon

[curlpp:214] help with sftp

Hi!! list, good morning

I having some problems to get a conexion with sftp , it told me this :
Maybe the library does not sopport the sftp or is disable .

Some idea about it ?

does anybody have example to get a conexion sftp  ?

thnks

--

-- 
You received this message because you are subscribed to the Google Groups "curlpp" group.
To post to this group, send email to curlpp@...
To unsubscribe from this group, send email to curlpp+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/curlpp?hl=en.

Picon

[curlpp:213] ayuda con sftp

Que tal lista buenos dias , son nuevo en el uso de la libreria y
obejitvo es utlizarla para descarga de archivos via sftp,
hice un ejemplo
y me marca que la sftp esta desabilitado o no es soportado por la
libreria,
tiene alguna idea ?  o donde econtrar un ejemplo con sftp

saludos.

--

-- 
You received this message because you are subscribed to the Google Groups "curlpp" group.
To post to this group, send email to curlpp@...
To unsubscribe from this group, send email to curlpp+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/curlpp?hl=en.

Bastien | 27 Jul 12:17
Picon
Gravatar

[curlpp:212] Include curlpp in Xcode 4

Hi everyone,

I'm trying to include cURLpp to one of my Xcode project but I get
"file not found" exceptions

I've downloaded curlpp 0.7.3, un-archived it right next to my project
directory and added: "$SRCROOT/../curlpp-0.7.3/include" to the Header
Search Path in Build Settings, also making sure the the recursive
checkbox was selected. That is the only thing I've modified in the
settings.

Any idea why it can't find the header files?
Thanks in advance for your help.

-- Bastien

--

-- 
You received this message because you are subscribed to the Google Groups "curlpp" group.
To post to this group, send email to curlpp@...
To unsubscribe from this group, send email to curlpp+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/curlpp?hl=en.

Jeff Warrren | 22 Jul 15:31
Picon
Gravatar

[curlpp:207] POSTing data does not seem to work?

I have been working off the example given at http://curlpp.org/index.php/examples/62-example-12,
along with a php script which will just print out whatever is posted
to it.

(i.e. <? var_dump($_POST) ?> )

No matter what I have tried, including variations on the example
above, the PHP script never seems to receive anything. Am I doing
something incorrectly, or is there possibly a bug in curlpp?

--

-- 
You received this message because you are subscribed to the Google Groups "curlpp" group.
To post to this group, send email to curlpp@...
To unsubscribe from this group, send email to curlpp+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/curlpp?hl=en.

princeofporsche | 15 Jul 17:50
Picon

[curlpp:206] curlpp ssl callback function

Hi All,

I am trying to write a curlpp ssl callback function on the client side
to do a custom verification of the server side certificate.
Here's a snippet.

m_sMyRequest.setOpt<cURLpp::Options::SslVerifyPeer>(true);
m_sMyRequest.setOpt<cURLpp::Options::SslVerifyHost>(2);
m_sMyRequest.setOpt<cURLpp::Options::SslCtxFunction>(sslctxfun);

What should the signature of the sslctxfun() callback function.

I came across sample C ssl callback function listed under libcurl
examples:
static CURLcode sslctxfun(CURL * curl, void * sslctx, void * parm);

But the same callback signature doesn't seem to work for curlpp. The
curlpp documentation lacks a proper C++ ssl example.

Any help is appreciated.

Thanks.

Aditya

--

-- 
You received this message because you are subscribed to the Google Groups "curlpp" group.
To post to this group, send email to curlpp@...
To unsubscribe from this group, send email to curlpp+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/curlpp?hl=en.
(Continue reading)

Rajbir Kaur | 17 Jun 11:24
Picon

[curlpp:203] to get the response received

Hi,
I am using curlpp in my project. I have gone through the examples given on the.
Now I am taking the reference of example 14.
My Requirement: to save the data received from the remote url and use it for further purpose.
Problem is I am not getting where the received data is stored in the CURLMsg structure:
curlpp::Multi::Msgs msgs = requests.info();
    for(curlpp::Multi::Msgs::iterator pos = msgs.begin();
  pos != msgs.end();
  pos++) {
      if(pos->second.msg == CURLMSG_DONE) {
 
  /* Find out which handle this message is about */
  if(pos->first == &request1) {
    printf("First request completed with status %d\n", pos->second.code);
  }
  else if(pos->first == &request2) {
    printf("Second request completed with status %d\n", pos->second.code);
  }
      }

--
You received this message because you are subscribed to the Google Groups "curlpp" group.
To post to this group, send email to curlpp-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to curlpp+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/curlpp?hl=en.
Stéphane Charette | 15 Feb 20:56
Picon

[curlpp:201] how to get the response?

I've got a curlpp::Easy object with all the necessary options to post
some XML to a HTTPS url.  When I enable the verbose option I can see
the response go to STDOUT, so I know it is working.

But...how do I get access to that response programmatically?  The
curlpp::Easy object doesn't seem to provide the response, so I'm
thinking I'm missing something really simple.

I would have thought curlpp::Easy::perform() would return an object,
but it returns void.  Anyone?

Stéphane Charette

--

-- 
You received this message because you are subscribed to the Google Groups "curlpp" group.
To post to this group, send email to curlpp@...
To unsubscribe from this group, send email to curlpp+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/curlpp?hl=en.

w0den | 5 Jan 17:17
Picon
Favicon

[curlpp:0] API documentation missing for culpp

When you click on the API it seems to do a recursive open of the about
page.  Can someone please fix this link?
Thanks
w0den

--

-- 
You received this message because you are subscribed to the Google Groups "curlpp" group.
To post to this group, send email to curlpp@...
To unsubscribe from this group, send email to curlpp+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/curlpp?hl=en.

meirab | 20 Nov 14:39
Picon

[curlpp:198] install curlpp on windows xp + visual c++ 2008 (vc9)

hello curlpp group
- - - - - - - - - - - - - -

I downloaded the .gz zip and extracted the files into F:\curlpp-0.7.3

then i opened it in vc9 and the build failed.

I added at Configuration Properties ----> c/c++ ----> Additional
include Directory

F:\curl-7.21.2
F:\curl-7.21.2\include

and this is what i got:

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= = = = = = = = = = = = = =
1>------ Build started: Project: curlpp, Configuration: DebugDynamic
Win32 ------
1>Compiling...
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated
and will be removed in a future release
1>cURLpp.cpp
1>Easy.cpp
1>Exception.cpp
1>Form.cpp
1>Info.cpp
1>Infos.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\src\curlpp
\Infos.cpp': No such file or directory
1>Multi.cpp
1>Option.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\src\curlpp
\Option.cpp': No such file or directory
1>OptionBase.cpp
1>Options.cpp
1>CurlHandle.cpp
1>OptionList.cpp
1>OptionSetter.cpp
1>SList.cpp
1>LifetimeLibrary.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\src\utilspp
\singleton\LifetimeLibrary.cpp': No such file or directory
1>PrivateMembers.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\src\utilspp
\singleton\PrivateMembers.cpp': No such file or directory
1>curl-7.21.2
1>c1xx : fatal error C1083: Cannot open source file: 'F:\curl-7.21.2':
Permission denied
1>Generating Code...
1>Project : warning PRJ0018 : The following environment variables were
not found:
1>$(BOOST_PATH)
1>$(LIBCURL_PATH)
1>Build log was saved at "file://f:\curlpp-0.7.3\DebugDynamic
\BuildLog.htm"
1>curlpp - 5 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= = = = = = = = = = = = = =

what do i have to do to make the build successful?

--

-- 
You received this message because you are subscribed to the Google Groups "curlpp" group.
To post to this group, send email to curlpp@...
To unsubscribe from this group, send email to curlpp+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/curlpp?hl=en.


Gmane