1844941 Members
1785 Online
110233 Solutions
New Discussion

Re: cURL

 
Dave Debus_1
Occasional Contributor

cURL

I just installed ixCurl from a iexpress depot using swinstall. All went well with no errors or warnings. When I attempt to use the -F option to post to a URL, this is what I get.

url: (1) Unsupported protocol: http

Any ideas?
8 REPLIES 8
shaick_1
Occasional Advisor

Re: cURL

Hello Dave,

We are using ixCurl and didn't face these error. Our Curl version is 7.15.0.

Thanks,
Shaick.
Muthukumar_5
Honored Contributor

Re: cURL

which platform you are trying for? which version you downloaded? Post log files and more informations on this to pin-point your problem.

-Muthu

Easy to suggest when don't know about the problem!
Dave Debus_1
Occasional Contributor

Re: cURL

HP-UX 11.11i
I'm not sure where logs for this would be. There is nothing in syslog.



denux01 [/opt/iexpress/curl]: curl --version
curl 7.13.1 (hppa2.0w-hp-hpux11.11) libcurl/7.13.1 OpenSSL/0.9.7e zlib/1.2.3
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: IPv6 Largefile NTLM SSL libz
Arunvijai_4
Honored Contributor

Re: cURL

Try running as,
# curl -v -F and post the o/p here.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Dave Debus_1
Occasional Contributor

Re: cURL

Sorry,,, this is all I get.

* Unsupported protocol: http
curl: (1) Unsupported protocol: http
Pete Randall
Outstanding Contributor

Re: cURL

Dave,

I would try a newer version to see if this has been fixed:

http://hpux.cs.utah.edu/hppd/hpux/Networking/WWW/curl-7.14.0/


Pete

Pete
Dave Debus_1
Occasional Contributor

Re: cURL

I have completed an entire install of cURL starting with the prerequisite build and runtime requirements for v.7.14.0 on a seperate system. I still get the same errors.
shaick_1
Occasional Advisor

Re: cURL

You can try with New ixCurl from,
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111

We can able to post the field data using following command,
curl -F "A=test" http:///test1.php
output:


test


Where test1.php contains,
test1.php


$A = $_POST['A'];
echo $A;
?>



Thanks,
Shaick