[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cURL - FTPAPI
I want to do this cURL call:
curl [1]http://server.example.com:8090/solr/update -F
stream.file=c:/Temp/data/myfile.xml
using HTTPAPI. I've tried an http_url_post like this:
retlen = http_url_post(
'[2]http://server.example.com:8090/solr/update +
-F stream.file=c:/Temp/data/myfile.xml'
: %Addr(Data)
: %Len(%TrimR(Data))
: '/tmp/newfile.xml');
and got back a 505 - not supported.
There's not much in Data cause I really don't want to post anything; I
just want to run the update process with the file (myfile.xml)
specified.
Any ideas?
Thanks!
References
1. http://subwiki.artvan.com:8090/solr/update
2. http://server.example.com:8090/solr/update
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------