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

如何自定义文件存放路径 #34

Closed
xiangshibo opened this issue Apr 9, 2019 · 2 comments
Closed

如何自定义文件存放路径 #34

xiangshibo opened this issue Apr 9, 2019 · 2 comments

Comments

@xiangshibo
Copy link

目前文件存放在go-fastDFS的安装目录下。可不可以放在自定义的路径下。设置了GO_FASTDFS_DIR环境变量后没有任何反应,环境变量配置如下:
image

@sjqzhang
Copy link
Owner

sjqzhang commented Apr 9, 2019

启动时设定环境变量

@sjqzhang sjqzhang closed this as completed Apr 9, 2019
@xiangshibo
Copy link
Author

启动时设定环境变量

在启动时指定了环境变量,会重新生成配置文件等信息,这样的话是不是我如果之前在另外一个路径上存有文件的话,是不是就无法访问了呢比如:开始在甲路径上存放文件,后来改到了乙路径。此时使用的是乙路径下的配置文件,这时候是不是就没有办法再访问到甲下面的文件了呢

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

2 participants