Hello.
We are Nuxeo ECM total rookies. We have defined a document model in our ECM instance, and this model contains a blob "illustration" attribute, which enables to store an image.
When looking at the rendering page which of that document model, when the blob attribute has been fulfilled with a picture, the image is diplayed in ECM with an hyperlink like "http://localhost:8080/nuxeo/nxfile/default/351993be-1ee6-43c1-b081-709a519f665c/as:illustration/image.png".
We strive to download that image from the command line with cURL with the command 'curl -H 'Content-Type:application/json+nxrequest' -u:Administrator:Administrator "http://localhost:8080/nuxeo/nxfile/default/351993be-1ee6-43c1-b081-709a519f665c/as:illustration/image.png"', authenticated properly, but this command returns an empty stream. Eventually, we will achieve that download from a Java application, which cannot use the Automation client, because we run in a Google App Engine box.
However, we thought that we had followed the documentation available at "http://doc.nuxeo.com/display/NXDOC55/Using+cURL", but we must have missed something. I need to mention that, if we open a browser with the URL "http://localhost:8080/nuxeo/nxfile/default/351993be-1ee6-43c1-b081-709a519f665c/as:illustration/image.png", the browser proposes to open or save the file.
If someone could help us to work this out, we would be grateful. Thank you for your attention.
Regards,
Édouard