Publié Mon, 10 Feb 2020 09:46:38 GMT par Chema Lopez Developer
Hi.

We are using the REST API for several tasks. In one of them, the application downloads the file through FileDownload. We want to improve download times since some documents are quite large. It seems that cloud server does not enable gzip compression when downloading original document, but it does with regular HTML pages.

I would like to know if there is a way to enable this.

Thank you in advance.
 
Publié Mon, 10 Feb 2020 09:47:38 GMT par Matthias Wieland DocuWare Europe GmbH Sr. Director Support EMEA
Dear Chema Lopez! It looks like the Community cannot answer your question. Thats why we have opened a Support Request with the Number SR-120332-F0J1L for you. A Software Support Specialist will contact you directly to follow up. We will update this thread with the solution as soon as we have solved the Support Request. With Best Regards, DocuWare Support Team
Publié Tue, 18 Feb 2020 08:20:13 GMT par Chema Lopez Developer
Thank you very much. I'll post the answer here so anybody searching can find the solution.

Add this to download URL:
{{ServerUrl}}/{{Platform}}/FileCabinets/{{FileCabinetId}}/Documents/{{DocumentId}}/FileDownload?targetFileType=zip&keepAnnotations=false

Be aware that clipped documents are already downloaded as a ZIP file. There is no double zip compression. You have to check if zip file contains one or more files.
 

You must be signed in to post in this forum.