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

上传目录后,类型错误 #2

Open
HanLJie opened this issue Apr 23, 2023 · 0 comments
Open

上传目录后,类型错误 #2

HanLJie opened this issue Apr 23, 2023 · 0 comments

Comments

@HanLJie
Copy link

HanLJie commented Apr 23, 2023

使用如下代码目录类型为(application/octet-stream)
input1.SetBody(NULL); input1.SetContentLength(0); input1.SetContentType(""); QsError err2 = qsBucket.PutObject("DowonLoad2/", input1, output1);
使用如下代码目录类型为(application/x-directory)
input1.SetBody(NULL); input1.SetContentLength(0); input1.SetContentType("application/x-directory"); QsError err2 = qsBucket.PutObject("DowonLoad2/", input1, output1);

是否应当默认上传的类型?

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

1 participant