Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The 'url' download file of the doc save callback interface becomes a zip file #2747

Open
1 task done
WarsenLiu opened this issue May 30, 2024 · 7 comments
Open
1 task done
Assignees

Comments

@WarsenLiu
Copy link

This issue is unique.

  • I have used the search tool and did not find an issue describing my bug.

Operating System of DocumentServer

Docker

Version information

7.1

Expected Behavior

The file type should not be changed when saving files.

Actual Behavior

The saved callback interface returns a zip format. How to configure it on docker to ensure that the downloaded file type is not changed?

Reproduction Steps

No response

Additional information

No response

@igwyd
Copy link
Member

igwyd commented Jun 3, 2024

Hello @WarsenLiu, please provide more information about the issue and a steps to reproduce.

@Rita-Bubnova Rita-Bubnova added the waiting feedback Issues that we waiting to be answered from author of issue label Jun 3, 2024
@WarsenLiu
Copy link
Author

image
When I request the URL in the callback interface, the returned file becomes a zip file
response.zip
like this

@igwyd
Copy link
Member

igwyd commented Jun 3, 2024

What file format are you opening DOCX?

@WarsenLiu
Copy link
Author

Yes

@Rita-Bubnova Rita-Bubnova removed the waiting feedback Issues that we waiting to be answered from author of issue label Jun 3, 2024
@igwyd
Copy link
Member

igwyd commented Jun 6, 2024

Please show the callback link and request body from callback.

@Rita-Bubnova Rita-Bubnova added the waiting feedback Issues that we waiting to be answered from author of issue label Jun 6, 2024
@WarsenLiu
Copy link
Author

Like this:
{key=52e3faa4392b5b9228f9, status=6, url=http:https://120.46.203.178:8061/cache/files/52e3faa4392b5b9228f9_2482/output.docx/output.docx?md5=v4YBvTGa5yWn9be4tn656A&expires=1717657246&filename=output.docx, changesurl=http:https://120.46.203.178:8061/cache/files/52e3faa4392b5b9228f9_2482/changes.zip/changes.zip?md5=UAU5isSAQeIB4JyqRzUgjw&expires=1717657246&filename=changes.zip, history={serverVersion=7.1.1, changes=[{created=2024-06-06 06:45:43, user={id=uid-1717566398569, name=匿名}}]}, users=[uid-1717566398569], actions=[{type=2, userid=uid-1717566398569}], lastsave=2024-06-06T06:45:43.000Z, forcesavetype=1, filetype=docx}

@Rita-Bubnova Rita-Bubnova removed the waiting feedback Issues that we waiting to be answered from author of issue label Jun 7, 2024
@igwyd
Copy link
Member

igwyd commented Jun 7, 2024

Your link does not contain response.zip, there is output.docx. I see you are using documentserver 7.1.1, we do not support older versions, update please to the current 8.0.1. Mayebe there is a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants