After using the ppt plug-in to generate a ppt, I clicked the download link but could not download it. When I copied the link, I found that it was exactly the same as the link on the current page. #12105

Closed
opened 2026-02-21 19:05:48 -05:00 by yindo · 2 comments
Owner

Originally created by @shuoshuo0 on GitHub (Mar 25, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.1.3

Cloud or Self Hosted

Cloud

Steps to reproduce

下载ppt插件并使用此插件生成ppt,可以看到顺利调用了此插件,但是生成出来的下载链接却是当前页面的链接,无法下载ppt,也无法查看ppt内容

Image

Image

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @shuoshuo0 on GitHub (Mar 25, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.1.3 ### Cloud or Self Hosted Cloud ### Steps to reproduce 下载ppt插件并使用此插件生成ppt,可以看到顺利调用了此插件,但是生成出来的下载链接却是当前页面的链接,无法下载ppt,也无法查看ppt内容 ![Image](https://github.com/user-attachments/assets/f3e320ff-5e27-4c66-8ce4-a701c494171b) ![Image](https://github.com/user-attachments/assets/090487fc-cefb-4be4-9bd1-8ae02539b85b) ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo closed this issue 2026-02-21 19:05:48 -05:00
Author
Owner

@crazywoola commented on GitHub (Mar 25, 2025):

Image

Please open an issue here instead.

@crazywoola commented on GitHub (Mar 25, 2025): <img width="651" alt="Image" src="https://github.com/user-attachments/assets/a62bb41a-9ade-4c53-88bd-1540e5668782" /> Please open an issue here instead.
Author
Owner

@dosubot[bot] commented on GitHub (Mar 25, 2025):

@shuoshuo0 Hello! I'm here to help you with any bugs, questions, or contributions you have for the Dify platform. Let's work together to solve this issue.

I found a similar unsolved discussion regarding the Dify plugin not supporting the retrieval and return of files. You can view the discussion here [1].

Regarding your issue, it seems that the download link generated by the plugin is incorrect, as it points to the current page instead of the intended file. This could be related to how Dify generates download links. Dify uses different mechanisms based on the file's transfer method to ensure that links point to the correct file. If any required attribute is missing or invalid, it may result in incorrect URL generation [2][3][4].

You might want to check the configuration settings related to file download links and ensure that all necessary attributes for link generation are correctly set. If the issue persists, it could be a bug in the plugin or the platform that needs further investigation.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Mar 25, 2025): <!-- Greeting --> @shuoshuo0 Hello! I'm here to help you with any bugs, questions, or contributions you have for the Dify platform. Let's work together to solve this issue. <!-- Answer --> I found a similar unsolved discussion regarding the Dify plugin not supporting the retrieval and return of files. You can view the discussion [here](https://github.com/langgenius/dify/discussions/14993) <sup>[[1]](https://github.com/langgenius/dify/discussions/14993)</sup>. Regarding your issue, it seems that the download link generated by the plugin is incorrect, as it points to the current page instead of the intended file. This could be related to how Dify generates download links. Dify uses different mechanisms based on the file's transfer method to ensure that links point to the correct file. If any required attribute is missing or invalid, it may result in incorrect URL generation <sup>[[2]](https://github.com/langgenius/dify/blob/main/api/core/file/file_manager.py)</sup><sup>[[3]](https://github.com/langgenius/dify/blob/main/api/core/file/models.py)</sup><sup>[[4]](https://github.com/langgenius/dify/blob/main/api/core/tools/tool_file_manager.py)</sup>. You might want to check the configuration settings related to file download links and ensure that all necessary attributes for link generation are correctly set. If the issue persists, it could be a bug in the plugin or the platform that needs further investigation. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/e2375e6f-1b5e-499b-88af-c6d50c5b70fa?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/e2375e6f-1b5e-499b-88af-c6d50c5b70fa?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/e2375e6f-1b5e-499b-88af-c6d50c5b70fa?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/e2375e6f-1b5e-499b-88af-c6d50c5b70fa?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/e2375e6f-1b5e-499b-88af-c6d50c5b70fa?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/e2375e6f-1b5e-499b-88af-c6d50c5b70fa?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/e2375e6f-1b5e-499b-88af-c6d50c5b70fa?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#12105