Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
又拍云Ruby客户端
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.idea
README.md
google.png
upyun.rb

README.md

upyun-ruby

又拍云不提供Ruby客户端,自己写一个好了。


使用示例

上传

require 'upyun'
up = UpYun.new('bucketname', 'username', 'password')
f = open('google.png')
up.writeFile('/google.png', f)

读取文件目录

require 'upyun'
up = UpYun.new('bucketname', 'username', 'password')
up.readDir('/filepath')

@gccyugi写了一个Lua风格的upyun客户端在这里;此外,TA还写了一个Python客户端

Something went wrong with that request. Please try again.