Hi ,
I am calling the getContentData() method to download the file from nuxeo
repository.
like as follows:
DocumentRef path= new PathRef("/domain/workspaces/workspace/nuxeo-book");
File file=new File("D:/DwnFolder/"+documentModel.getName());
byte[] bytes=coresession.getContentData(path,"content");
It's save the file in my hard disk from nuxeo repository but without
extension.
Can anyone guide me how to get extension.
Regards,
frnd
the file has been downloaded but the
--
View this message in context:
http://www.nabble.com/how-to-get-file-extension-of-downloaded-file-tf4960882.html#a14208705
Sent from the Nuxeo ECM main mailing list archive at Nabble.com.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm