On Saturday, December 3, 2016 at 4:18:00 AM UTC-8, Gavin Gavin wrote:
> Thanks for getting back so quickly! Am wrestling with this now, will post 
> back here if I find a solution
> 
> 
> > On 3 Dec 2016, at 12:16, [email protected] wrote:
> > 
> > No Gavin, I never did get this to work. As I was working with time 
> > pressure, and I was able to get it to work in a script, I ended up using a 
> > hybrid solution and using a call to the script to accomplish the task. 
> > Not my preferred solution, and definitely not elegant, but it worked. 
> > 
> > -- 
> > Remember to include the version number!
> > --- 
> > You received this message because you are subscribed to a topic in the 
> > Google Groups "InfluxData" group.
> > To unsubscribe from this topic, visit 
> > https://groups.google.com/d/topic/influxdb/0d7-ef2rYu8/unsubscribe.
> > To unsubscribe from this group and all its topics, send an email to 
> > [email protected].
> > To post to this group, send email to [email protected].
> > Visit this group at https://groups.google.com/group/influxdb.
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/influxdb/e0a4c792-3890-41a3-9f66-5f9552fc5136%40googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.

It looks to me like the '@' part isn't handled by libcurl at all [1]. You'll 
need to read the file content into your own buffer and pass that along with 
CURLOPT_POSTFIELDS [2].

[1] https://github.com/curl/curl/blob/720ea57/src/tool_getparam.c#L1256-L1280
[2] https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDS.html

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/f2ade05e-16b7-48e2-9c86-27814fefa993%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to