通过URL访问对象

<p class="shortdesc">您将对象上传到存储空间后,可以通过对象的URL来访问该对象,实现对象分享和下载。</p> <section class="section prereq" id="urlobject__prereq_hzm_ngq_mlb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div> <p class="p">已完成存储空间的创建,请参见<a class="xref" href="/ssr/help/storage/obs/quick_start.createstoragespace" target="_blank">创建存储空间</a>。</p> <p class="p" id="urlobject__p_yc4_jhq_mlb">已经在创建的存储空间中上传对象,请参见<a class="xref" href="/ssr/help/storage/obs/quick_start.Uploadobject" target="_blank">上传对象</a>。</p> </section> <section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand"> <span class="ph cmd"> 登录<a class="xref" href="/console/obs/bucket/list" target="_blank">对象存储OBS控制台</a>。</span> </li><li class="li step stepexpand"> <span class="ph cmd">在<span class="keyword wintitle">Bucket列表</span>中,找到目标存储空间,单击<span class="ph uicontrol">Bucket名称</span>。</span> </li><li class="li step stepexpand"> <span class="ph cmd">选择<span class="ph uicontrol">Object管理</span>页签。</span> </li><li class="li step stepexpand"> <span class="ph cmd">在对象列表中,找到目标对象,然后单击后方操作栏中的<span class="ph uicontrol">获取地址</span>。</span> <div class="itemgroup info"> <img class="image" id="urlobject__image_utd_1hq_mlb" src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200708111403-107039199410.png" width="750"> </div> </li><li class="li step stepexpand"> <span class="ph cmd">在<span class="keyword wintitle">获取地址</span>页面,获取URL。</span> <div class="itemgroup info"> <ul class="ul" id="urlobject__ul_ejk_vgq_mlb"> <li class="li"> <p class="p">如果存储空间权限为私有型,需要填写<span class="ph uicontrol">有效时间</span>,规定URL生效时间,默认为60秒,设定完成后,单击<span class="ph uicontrol">获取URL</span>。然后单击<span class="ph uicontrol">复制</span>,在浏览器中粘贴即可访问。</p> <img class="image" id="urlobject__image_tzs_2hq_mlb" src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200708111403-1eb8ced79e69.png"> <div class="note important note_important"><span class="note__title">重要:</span> 访问者只可以在有效时间内,通过此链接访问该对象。超过时间,链接失效。</div> </li> <li class="li"> <p class="p">如果存储空间权限为公共读或公共读写,则直接生成访URL。单击<span class="ph uicontrol">复制</span>,在浏览器中即可访问。</p> </li> </ul> </div> </li></ol></section>
以上内容是否解决了您的问题?
请补全提交信息!
咨询·建议

电话咨询 - 7x24 小时

400-151-8800

邮件咨询

cloud@pingan.com

在线客服

7x24 小时,急速解答

工单支持

解决云产品相关技术问题