I'm not having success POSTing a file to Sling using curl

curl =F "[email protected]" -F"sling:resourceType=foo/bar" -F"title=some
title" http://localhost:8080/content/mynode3

The resulting GET returns doesn't include any mention of the "file"
field.  Can anyone give me any advice?

Resource dumped by HtmlRendererServlet

Resource path: /content/mynode3

Resource metadata: {sling.resolutionPathInfo=.html,
sling.resolutionPath=/content/mynode3}
Resource properties
title: some title
sling:resourceType: foo/bar
jcr:primaryType: nt:unstructured

-- 
Greg Akins

http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net

Reply via email to