Home >Backend Development >PHP Tutorial >七牛如何判断文件是否存在空间

七牛如何判断文件是否存在空间

PHPz
PHPzOriginal
2016-06-06 20:30:532684browse

七牛如何判断文件是否存在空间

七牛判断文件是否存在空间的方法:

一:空间是否存在可以登录 portal.qiniu.com 后在左上角选择一个空间查看。或者可以通过使用列举空间的接口

http://kb.qiniu.com/5rg13c29

二:文件是否存在某个空间可以登录 portal.qiniu.com 后,选择一个空间,在内容管理中输入文件名或者文件名前缀查看 或者 可以使用list接口把空间里面的所有资源都列举出来,然后匹配计算一下:

http://developer.qiniu.com/docs/v6/api/reference/rs/list.html

更多相关技术知识,请访问PHP中文网

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn