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

不支持依次列举文件列表 #282

Closed
YouXam opened this issue Aug 25, 2021 · 4 comments
Closed

不支持依次列举文件列表 #282

YouXam opened this issue Aug 25, 2021 · 4 comments

Comments

@YouXam
Copy link

YouXam commented Aug 25, 2021

图片

使用 glob 并展开文件列表之后报错.

无法达到以下需求:

将dist里的所有文件上传到对象存储根目录.

如果直接上传dist文件夹, 将会在对象存储根目录下创建dist文件夹.

@lewzylu
Copy link
Collaborator

lewzylu commented Aug 26, 2021

不用加*

@YouXam
Copy link
Author

YouXam commented Aug 26, 2021

不用加*

@lewzylu 如果不加*的话,就是把dist文件夹上传到根目录,显示一个dist文件夹,而我需求是把dist里的文件上传到根目录,根目录下显示多个文件。

@lewzylu
Copy link
Collaborator

lewzylu commented Aug 26, 2021

upload dist / 这样到cos上会有一个dist
upload dist/ / 这样到cos是直接到根目录

@YouXam
Copy link
Author

YouXam commented Aug 27, 2021

upload dist / 这样到cos上会有一个dist
upload dist/ / 这样到cos是直接到根目录

@lewzylu 感谢,问题解决了,建议在文档中写清楚

@YouXam YouXam closed this as completed Aug 27, 2021
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