Hello, I am trying to upload a file using the java automation client :
FileBlob blob = (FileBlob) session.getFile(path);
session.newRequest("Blob.Attach").setHeader(Constants.HEADER_NX_VOIDOP, "true").setInput(blob)
.set("document", document.getPath().toString()).execute();
The file uploads fine, but doesnt keep his original name, instead, the file in the nuxeo server was uploaded as nx-automation-upload-xxxxxxxxxxx.tmp. All files i tried to upload are renamed with the prefix nx-automation-upload- and a .tmp extension.
Is there a way to upload files keeping original names and extensions on server?