首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > MogileFS客户端从埃里克Osterman修改PHP

MogileFS客户端从埃里克Osterman修改PHP

  • 资源大小:16.08 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: php client mogilefs

资 源 简 介

UPDATE: I have taken this client a step further, and created a MogileFS PHP Model library which abstracts the file stored in MogileFS: https://github.com/Yuav/MogileFS-PHP-Model Hopefully you"ll find it useful :) I am struggling with a high latency network, and in many cases the tracker simply doesn"t respond in time, and the client throws a fatal error. So I did some modifications on the client from http://osterman.com/wordpress/2007/06/30/robust-php-mogilefs-client Changelog: * added getFile function * added FILE_INFO capable function (Thanks Jan Kantert) * setFile now tries upload 3 times before failing - example; tracker dies during upload * setResource with key == null now close file handle before throwing exception * added pathcount and noverify options to getPaths (copied from perl client 1.08) * unknown key, and empty file now produce a warning, and not fatal error in doRequest My plan was to make it sli

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP