Forum OpenACS Development: Re: util_httppost

Collapse
3: Re: util_httppost (response to 2)
Posted by Antonio Pisano on
Sometimes capabilities of wget and curl intersect, but wget is mostly oriented to the download of files, while curl to the upload.

First, curl allows the uploading of multiple files to web forms, and second, it supports transparently authentication, ssl and compression of the stream. This are the most important features wget lacks by my knowledge.

On the other hand, curl cannot download recursively.

My toughts on the use of curl come from this doubt: is there now an interface allowing to upload multiple files and fields, by POST or GET, to a webserver requiring authentication and using ssl and/or compression?

There is some confusion indeed about http client api, as we have the ns_*, ad_*, util_* and ::xo::* alternatives around, but (correct me if I am wrong), at the moment none of those offers all the features I mentioned.

I can of course help in revising the situation, but what would be the route you'd suggest?