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

minio上传时使用win分隔符设置路径,路径变成文件名前缀 #307

Open
iFoxox opened this issue Nov 27, 2024 · 2 comments
Open

Comments

@iFoxox
Copy link

iFoxox commented Nov 27, 2024

在win系统下上传文件时使用 File.separator设置目录,但上传后变成了文件的前缀。在Linux下正常。
image
image

@1171736840
Copy link
Collaborator

这个path你是传入的吧,全部统一使用 / 符号就行了,不要使用 File.separator

@iFoxox
Copy link
Author

iFoxox commented Nov 29, 2024

这个path你是传入的吧,全部统一使用 / 符号就行了,不要使用 File.separator

是我传入的,同样的代码在其它项目中直接使用minio应该是正常的,经过x-file-storage后就不行。

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