[Freeswitch-users] [curl_sendfile][unable to get response]

Bilal Abbasi bilaln018 at gmail.com
Wed Oct 4 10:38:51 UTC 2017


Hi Users,
I am using lua script to actually call the curl_sendfile, i am able to
successfully POST the file on URL, but i am only curious to know the
response variables to get the status.
Like i used curl previously and there are two variables that are auto set
curl_response_data and curl_response_code, i am looking same in the
curl_sendfile.
CAn anybody help me in this?

P.S: i did tried to send file using curl, but i am not aware that how to do
that using the curl -F(--form) option, i can upload a file using
commandline linux curl command , but could not mapp the option -F in the
freeswitch.

Regards
Abbasi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171004/9f452efa/attachment.html>


More information about the FreeSWITCH-users mailing list