Re: [Gambas-user] gb.net.curl and SSL certificate

2014-06-20 Thread CJ
Hi Benoît, Can you try revision #6330 and tell me? Thanks for looking into it! It works in #6330, tested on Ubuntu 12.04 LTS and Xubuntu 14.04 LTS. /CJ -- HPCC Systems Open Source Big Data Platform from LexisNexis

Re: [Gambas-user] gb.net.curl and SSL certificate

2014-06-19 Thread Benoît Minisini
Le 18/06/2014 19:29, CJ a écrit : Trying to communicate with a web server via https and the HTTPGet example but the connection fails with error -1060 also if I disable certificate authentication using... MyHTTP.SSL.VerifyHost = False MyHTTP.SSL.VerifyPeer = False .VerifyPeer =

Re: [Gambas-user] gb.net.curl and SSL certificate

2014-06-19 Thread CJ
Trying to communicate with a web server via https and the HTTPGet example but the connection fails with error -1060 also if I disable certificate authentication using... MyHTTP.SSL.VerifyHost = False MyHTTP.SSL.VerifyPeer = False .VerifyPeer = False is really just a call to:

Re: [Gambas-user] gb.net.curl and SSL certificate

2014-06-19 Thread CJ
Benoît, If I can see your address in the mailing-list, so you can see mine, can't you? mailto:gam...@users.sourceforge.net Ahh, I thought that was a generic mailing list address to prevent you from being swamped by personal requests, silly me ;) I will pack up the example program including

[Gambas-user] gb.net.curl and SSL certificate

2014-06-18 Thread CJ
Trying to communicate with a web server via https and the HTTPGet example but the connection fails with error -1060 also if I disable certificate authentication using... MyHTTP.SSL.VerifyHost = False MyHTTP.SSL.VerifyPeer = False Found an old discussion about this issue where Jim couldn't

Re: [Gambas-user] gb.net.curl Issues

2013-08-06 Thread Jim Provan
http.SSL.VerifyHost = False http.SSL.VerifyPeer = False http.User = admin http.Password = admin1 http.Auth = Net.AuthBasic http.Async = False http.Debug = True http.Async = True http.Timeout = 60 then the Get returns * About to connect() to 10.25.52.11 port 443 (#0) *

Re: [Gambas-user] gb.net.curl Issues

2013-08-04 Thread Benoît Minisini
Le 03/08/2013 21:44, Jim Provan a écrit : Ok, merci. Jim Provan I added the two SSL options in revision #5771. Can you try them and tell me if they work? HttpClient.SSL.VerifyPeer = False ' True by default HttpClient.SSL.VerifyHost = False ' True by default Regards, -- Benoît Minisini

Re: [Gambas-user] gb.net.curl Issues

2013-08-03 Thread Benoît Minisini
Le 01/08/2013 22:42, Jim Provan a écrit : So, how do you deal with self-signed certificates ? Jim Provan I don't know... I found an option related to that in the curl library documentation, so I can add it to the gb.net.curl component. But I didn't find that option in the curl command-line

Re: [Gambas-user] gb.net.curl Issues

2013-08-03 Thread Jim Provan
Ok, merci. Jim Provan On Sat, Aug 3, 2013 at 1:14 PM, Benoît Minisini gam...@users.sourceforge.net wrote: Le 01/08/2013 22:42, Jim Provan a écrit : So, how do you deal with self-signed certificates ? Jim Provan I don't know... I found an option related to that in the curl library

Re: [Gambas-user] gb.net.curl Issues

2013-08-01 Thread Benoît Minisini
Le 01/08/2013 15:03, Jim Provan a écrit : Is there an override property for the .Get() and .Post() methods of an HttpClient to accept self signed certificates such as curl's --no-check-certificates option ? Jim Provan I don't have this option on the curl provided with my Ubuntu 13.04... --

Re: [Gambas-user] gb.net.curl Issues

2013-08-01 Thread Jim Provan
So, how do you deal with self-signed certificates ? Jim Provan On Thu, Aug 1, 2013 at 12:22 PM, Benoît Minisini gam...@users.sourceforge.net wrote: Le 01/08/2013 15:03, Jim Provan a écrit : Is there an override property for the .Get() and .Post() methods of an HttpClient to accept self

Re: [Gambas-user] gb.net.curl How to upload binary files

2013-02-23 Thread Benoît Minisini
Le 21/02/2013 20:42, Ulf Wedemeyer SpamOk a écrit : Hello Gambas experts I have been working on a small project syncing data with Google through their data API. Most of the communication works well using the HttpClient from the gb.net.curl component, but I struggling to get mimic the

Re: [Gambas-user] gb.net.curl How to upload binary files

2013-02-23 Thread Benoît Minisini
Le 23/02/2013 19:10, Benoît Minisini a écrit : Le 21/02/2013 20:42, Ulf Wedemeyer SpamOk a écrit : Hello Gambas experts I have been working on a small project syncing data with Google through their data API. Most of the communication works well using the HttpClient from the gb.net.curl

[Gambas-user] gb.net.curl How to upload binary files

2013-02-21 Thread Ulf Wedemeyer SpamOk
Hello Gambas experts I have been working on a small project syncing data with Google through their data API. Most of the communication works well using the HttpClient from the gb.net.curl component, but I struggling to get mimic the following curl command line. curl --silent --request POST

[Gambas-user] gb.net.curl FTPClient crash

2013-02-16 Thread Tobias Boege
Hi Daniel, if I give an empty array to the FTPClient.Exec() method: --8--- Dim h As New FTPClient h.Exec([]) --8--- the interpreter gets a segfault. I think you should either warn or do nothing in this case. Regards, Tobi

Re: [Gambas-user] gb.net.curl FTPClient crash

2013-02-16 Thread Benoît Minisini
Le 16/02/2013 17:03, Tobias Boege a écrit : Hi Daniel, if I give an empty array to the FTPClient.Exec() method: --8--- Dim h As New FTPClient h.Exec([]) --8--- the interpreter gets a segfault. I think you should either warn or do nothing in this case. Regards,

Re: [Gambas-user] gb.net.curl FTPClient crash

2013-02-16 Thread Tobias Boege
On Sat, 16 Feb 2013, Beno?t Minisini wrote: Le 16/02/2013 17:03, Tobias Boege a ?crit : Hi Daniel, if I give an empty array to the FTPClient.Exec() method: --8--- Dim h As New FTPClient h.Exec([]) --8--- the interpreter gets a segfault. I think you

Re: [Gambas-user] gb.net.curl FTPClient crash

2013-02-16 Thread Benoît Minisini
Le 16/02/2013 19:57, Tobias Boege a écrit : On Sat, 16 Feb 2013, Beno?t Minisini wrote: Le 16/02/2013 17:03, Tobias Boege a ?crit : Hi Daniel, if I give an empty array to the FTPClient.Exec() method: --8--- Dim h As New FTPClient h.Exec([]) --8--- the

[Gambas-user] gb.net.curl

2010-03-31 Thread Keith Clark
I have a project that I'm working on, and at home I included the required gb.net.curl by adding it in ProjectPropertiesComponents. This is on a machine running Ubuntu 10.04 Beta. I then created an executable, along with a complete copy of the entire directory and tried it here at work on a

[Gambas-user] gb.net.curl - error codes.

2009-05-28 Thread Steven James Drinnan
Hi am completing another project. To get weather information from the HK Observatory's web site. But I some times get error codes from the HTTP component. 1. Is there list of error codes that this component returns 2. Is there a method to reset the connection when I get an error?

Re: [Gambas-user] gb.net.curl - HttpClient - libcurl specs?

2009-01-10 Thread Benoit Minisini
On vendredi 9 janvier 2009, birchy wrote: anyone? I just added the HttpClient.Encoding property in the revision #1795 of the development version, so that you have all you want! Regards, -- Benoit Minisini -- Check

[Gambas-user] gb.net.curl - HttpClient - libcurl specs?

2009-01-07 Thread birchy
I have recently decided to give Gambas a second chance, having been very disappointed by it's lack of documentation. Most of my apps are reliant on high speed internet transactions, so the gb.net.curl component is of particular interest. Whilst away from Gambas, i have been using Python. The