I'm using getcontent REST call to Fetch document to thr original type but when Im trying to download PDF or any other format file except "txt" It gives me wrong format data which does not suit to that particular extra format.
I'm using peace of Java servlet code to download file using docid .
I'm using find() Method to get docid and doc name with extn.
But other than text format Other Format files Does not download properly
Unable get proper document content in specific format
Moderator: car031
Post
Re: Unable get proper document content in specific format
Hi @ajutate,
I think there is already an answer to a similar request viewtopic.php?f=10&t=10579#p16409
You can get some working examples for many different programming languages in the wiki of LD
https://wiki.logicaldoc.com/wiki/Bindings_And_Samples
I think there is already an answer to a similar request viewtopic.php?f=10&t=10579#p16409
You can get some working examples for many different programming languages in the wiki of LD
https://wiki.logicaldoc.com/wiki/Bindings_And_Samples
Post
Re: Unable get proper document content in specific format
Here is an example using HttClient to find and download the results to file
Look at the methods findAndDownload and downloadDocument
Look at the methods findAndDownload and downloadDocument
- Attachments
-
- HttpRestWb.zip
- uncompress this file, it contains a single java class
- (3.43 KiB) Downloaded 272 times
Who is online
Users browsing this forum: No registered users and 4 guests