Re: multi certificate with curl ftp ssl

"Nico" <[email protected]>
Newsgroups gmane.comp.web.curl.php
Message-ID <[email protected]>
Hello,

>>> i want to convert this function curl in php code:
>>>
>>> curl --ftp-ssl --capath /home/data/ --cert /home//data/certif.cer
>>           --cacert  /home/data/societe.cer
>>>       -u username:password ftp://ftpmachin.societe.net:21

and you're suggest is complicated for me , i don't know to convert it to C 
and php finally

it's possible you help me to write php code curl to connect ftp server with 
two certificate -cer and -cacert ?

i use php curl 7.18 and i always have error 530 during connection ftp. my 
certificate are not including correctly.
i write all the set_opt disponible in curl but anyone work.

thks for your help

 

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.