我无法在 html 中输入下载链接

发布于 2025-01-15 21:06:32 字数 186 浏览 3 评论 0原文

每当我尝试单击下载按钮时,我都会收到错误“失败 - 无文件”。这是下面的代码:

<a class="btn-ghost" href="Resume/cover letter.pdf" download>Download resume</a>

我可以做些什么来纠正错误吗?

I am receiving the error "Failed- No file" whenever I tried to click the download button. Here is the code below:

<a class="btn-ghost" href="Resume/cover letter.pdf" download>Download resume</a>

is there anything I can do to rectify the error?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

折戟 2025-01-22 21:06:32
<a class="btn-ghost" download href="Resume/cover letter.pdf" download>Download resume</a>

你也可以尝试这个,并再次检查你给href的路径,如果路径正确,那么这将运行,我已经尝试过了。

<a class="btn-ghost" download href="Resume/cover letter.pdf" download>Download resume</a>

You can try this one also and again check the path you have given to the href, if the path is correct then this will gonna run, i have tried it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文