curl-and-php
Re: multi certificate with curl ftp ssl
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 19 Jan 2010 22:10:39 +0100 (CET)
Date: Tue, 19 Jan 2010 22:10:39 +0100 (CET)
On Tue, 19 Jan 2010, Nico wrote:
>> i want to convert this function curl (work) :
>>
>> curl --ftp-ssl --capath /home/data/ --cert /home//data/certif.cer
> --cacert /home/data/societe.cer
>> -u username:password ftp://ftpmachin.societe.net:21
I'd suggest you try the --libcurl option as that will produce a C code
snippet for the same request, and from there you should be able to convert it
to PHP pretty easily.
-- / daniel.haxx.se _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2010-01-19