Skip to content

liweinan/upyun-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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客户端

About

又拍云Ruby客户端

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages