Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教文件扩展名限制的问题 #1

Open
sarike opened this issue Dec 9, 2016 · 2 comments
Open

请教文件扩展名限制的问题 #1

sarike opened this issue Dec 9, 2016 · 2 comments

Comments

@sarike
Copy link

sarike commented Dec 9, 2016

你好,请教一下。

当前有个 Base:: FILE_EXT_NAME_MAX_LEN = 6;的限制。

把这个限制调成10会出错,status 返回 22。

请问这个扩展名长度限制是FastDFS的吗?有木有什么办法可以调整这个限制?

多谢。

@qpwoeiru96
Copy link
Owner

这个确实是FastDFS的限制,改的话得服务端一起动。
你可以查看服务端的代码,长度6我觉得足够用了,有特殊需求可以才用 二级的形式。

@reincarnation
Copy link

reincarnation commented Jan 3, 2024

Fatal error: Uncaught Error: Class 'FastDFS\FastDFSException' not found in D:\wamp\www\FastDFS\Tracker.php:36 Stack trace: #0 D:\wamp\www\FastDFS\testcase.php(15): FastDFS\Tracker->applyStorage('lms') #1 {main} thrown in D:\wamp\www\FastDFS\Tracker.php on line 36

请问下我在使用时遇到这个问题,不知道怎么解决

Repository owner deleted a comment from mkproject-admin Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants