huxinghai / fastdfs-client-ruby Goto Github PK
View Code? Open in Web Editor NEWfastdfs client for ruby
fastdfs client for ruby
huxinghai1988您好,我在使用fastdfs-client-ruby的时候遇到一个问题
代码 :storage.upload(File.new(path))
path为上传的文件路径,eg:/XX/xxxx/XX/xxxx/x/xxx.numbers
最终storage.upload返回的 :path 中,文件后缀名为number,
导致下载下来的numbers文件无法使用
update:
用的是1.4的版本
原因已经找到了,是因为限制了6位的文件拓展名
Hi,
刚刚发现storage类没有dispose函数.
这样导致连接超过253个之后无法获得新的storage.
使用storage.socket.close后就可以了.
虽然正式用的时候不这么用,...
the file download isn't match what i upload.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.