gpt4 book ai didi

azure - 如何在 Azure 上存储 pdf

转载 作者:行者123 更新时间:2023-12-01 03:18:18 24 4
gpt4 key购买 nike

我有一个 Linux 应用程序上的 WordPress,在 Azure 上运行,并带有 MySql 数据库。

我需要能够将 PDF 文件上传到 Azure,然后在网站中提供一个链接,使用户能够单击该链接并查看 PDF。

更具体地说,该文档是在本地创建然后上传到 Azure 的月度发票。用户将登录,然后看到一个允许他查看发票的链接。

我不知道文档应该如何存储。是否应该存储在MySql数据库中?或者在某种可以链接的存储类型中?当然,它需要安全。

最佳答案

Greg,Blob 存储将是 Azure 中的最佳选择,它的功能如下:

1 -Serving images or documents directly to a browser
2 -Storing files for distributed access
3- Streaming video and audio
4- Storing data for backup and restore, disaster recovery, and archiving
5- Storing data for analysis by an on-premises or Azure-hosted service

存储在 Azure Blob 中的任何文件都可以通过链接访问,例如: https://storagesample.blob.core.windows.net/mycontainer/blob1.txt或使用别名,例如 http://files.mycompany.com/somecontainer/bolbs.txt

完整详细信息可在此处访问:https://learn.microsoft.com/en-us/azure/storage/blobs/storage-dotnet-how-to-use-blobs

关于azure - 如何在 Azure 上存储 pdf,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47576887/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com