├── .gitattributes ├── .gitignore └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Windows image file caches 2 | Thumbs.db 3 | ehthumbs.db 4 | 5 | # Folder config file 6 | Desktop.ini 7 | 8 | # Recycle Bin used on file shares 9 | $RECYCLE.BIN/ 10 | 11 | # Windows Installer files 12 | *.cab 13 | *.msi 14 | *.msm 15 | *.msp 16 | 17 | # Windows shortcuts 18 | *.lnk 19 | 20 | # ========================= 21 | # Operating System Files 22 | # ========================= 23 | 24 | # OSX 25 | # ========================= 26 | 27 | .DS_Store 28 | .AppleDouble 29 | .LSOverride 30 | 31 | # Thumbnails 32 | ._* 33 | 34 | # Files that might appear in the root of a volume 35 | .DocumentRevisions-V100 36 | .fseventsd 37 | .Spotlight-V100 38 | .TemporaryItems 39 | .Trashes 40 | .VolumeIcon.icns 41 | 42 | # Directories potentially created on remote AFP share 43 | .AppleDB 44 | .AppleDesktop 45 | Network Trash Folder 46 | Temporary Items 47 | .apdisk 48 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # UPYUN-API-Web-Tool 2 | 3 | ### 在线工具地址 4 | https://uptool.tingfun.net 5 | 6 | ### 实现原理 7 | * 操作界面使用 Metro UI 部分风格和样式,参数处理和文件上传使用ajax 8 | * 业务逻辑层大部分使用官方 php-sdk 封装的方法 9 | * 数据访问层大部分通过libcurl库和又拍云交互,日志记录使用xmlDOM和Mysql 10 | 11 | ### 主要功能 12 | 1. 表单上传单文件或逐个选择文件一并上传 13 | 2. 创建目录,删除文件或文件夹 14 | 3. 异步音视频处理 15 | 4. 文件压缩和解压缩 16 | 5. 文件元信息获取和异步文件拉取 17 | 6. 文件防盗链token生成和推拉流防盗url生成 18 | 7. 异步处理任务记录和异步进度查询 19 | 20 | ### 使用须知 21 | 1. 该系统定位于辅助的轻量级资源管理工具,使用服务对应的操作员账号和密码登陆 22 | 2. 如果需要上传文件,登陆时需填写该服务的表单密钥(已更新签名,不用填写) 23 | 3. 单次列举的最大文件数量为1000个,单次删除操作的最长时间为50秒 24 | 4. 登陆后会生成一个异步任务列表记录,断开连接或退出后删除该记录 25 | 5. 登陆后24小时内如果和服务端无交换,将会断开连接,上传较大文件须注意. 26 | 6. 该系统不记录登陆的密码或密钥信息,建议退出时点击右上角操作员账号安全退出 27 | 28 | ### 优化更新 29 | 1. 增加图片及音视频预览功能(2016-11-4) 30 | 2. 全链路更改为ssl链接(2016-11-8) 31 | 3. 增加图片上传鉴别和异步鉴别功能(2016-12-22) 32 | 4. 更新文件上传签名,登陆时无需填写表单密钥(2017-1-8) 33 | 5. 列文件更新为自定义分页列举,默认每页100个,总列举数取消上限(2017-1-14) 34 | 6. 增加uploadify插件上传功能(2017-1-15) 35 | 7. 增加以服务名为维度的回调信息查询功能(2017-1-19) 36 | 8. 增加站内用户交流功能,可以给 uptool(网管) 提意见和建议(2017-2-15) 37 | 9. 增加内容识别模块,对移动端UI进行兼容和优化(2018-8-31) 38 | --------------------------------------------------------------------------------