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

coscli sync/cp error 405 #35

Open
jarvanstack opened this issue Mar 26, 2023 · 0 comments
Open

coscli sync/cp error 405 #35

jarvanstack opened this issue Mar 26, 2023 · 0 comments

Comments

@jarvanstack
Copy link

我需要将本地的网页文件(包含md,html,css等)同步到 cos
我尝试了 cp 和 sync 命令都报错 405

$ coscli cp  docs/ cos://bmft-blog/ -r
INFO[2023-03-26 17:03:37] Upload /root/workspace/work2/bmft-blog/docs/.nojekyll => cos://bmft-blog//.nojekyll 
100% [##############################] 0/0 Bytes
100% [##############################] 0/0 Bytes
100% [##############################] 0/0 Bytes
FATA[2023-03-26 17:03:40] PUT https://bmft-blog-1304103443.cos-website.ap-guangzhou.myqcloud.com//.nojekyll: 405 MethodNotAllowed(Message: The specified method is not allowed against this resource., RequestId: NjQyMDBhNmNfMzYyZTJjMGJfMTYwYzFfYzQxNmQ5ZA==, TraceId: OGVmYzZiMmQzYjA2OWNhODk0NTRkMTBiOWVmMDAxODc1NGE1MWY0MzY2NTg1MzM1OTY3MDliYzY2YTQ0ZThhMDA0ZDNiODc3OGQ2ODc0NGZiNTkyNWYwYTE5NjljMjA1) 
$ coscli sync  docs/ cos://bmft-blog/ -r
INFO[2023-03-26 17:03:47] Sync upload file localPath skip, /root/workspace/work2/bmft-blog/docs/.nojekyll 
INFO[2023-03-26 17:03:47] Sync upload file localPath skip, /root/workspace/work2/bmft-blog/docs/README.md 
INFO[2023-03-26 17:03:47] Sync upload file localPath skip, /root/workspace/work2/bmft-blog/docs/_coverpage.md 
INFO[2023-03-26 17:03:48] Sync upload file localPath skip, /root/workspace/work2/bmft-blog/docs/_navbar.md 
INFO[2023-03-26 17:03:48] Sync upload file localPath skip, /root/workspace/work2/bmft-blog/docs/_sidebar.md 
INFO[2023-03-26 17:03:48] Sync upload file localPath skip, /root/workspace/work2/bmft-blog/docs/baidu_verify_codeva-6UIkoH5anV.html 
INFO[2023-03-26 17:03:49] Sync upload file localPath skip, /root/workspace/work2/bmft-blog/docs/config.js 
INFO[2023-03-26 17:03:49] Sync upload file localPath skip, /root/workspace/work2/bmft-blog/docs/gitbook-summary.yaml 
INFO[2023-03-26 17:03:49] Sync upload file localPath skip, /root/workspace/work2/bmft-blog/docs/index.html 
INFO[2023-03-26 17:03:50] Sync upload file localPath skip, /root/workspace/work2/bmft-blog/docs/script.bk 
INFO[2023-03-26 17:03:50] Sync upload file localPath skip, /root/workspace/work2/bmft-blog/docs/1-throught/0302-change-of-corner-overtaking.md 
INFO[2023-03-26 17:03:50] Upload /root/workspace/work2/bmft-blog/docs/1-throught/0326-cs-guild.md => cos://bmft-blog/1-throught/0326-cs-guild.md 
100% [##############################] 43/43 Bytes
100% [##############################] 43/43 Bytes
100% [##############################] 43/43 Bytes
FATA[2023-03-26 17:03:51] PUT https://bmft-blog-1304103443.cos-website.ap-guangzhou.myqcloud.com/1-throught/0326-cs-guild.md: 405 MethodNotAllowed(Message: The specified method is not allowed against this resource., RequestId: NjQyMDBhNzhfMWIzNTJjMGJfMmM5NzBfYzM0OTM4MA==, TraceId: OGVmYzZiMmQzYjA2OWNhODk0NTRkMTBiOWVmMDAxODc1NGE1MWY0MzY2NTg1MzM1OTY3MDliYzY2YTQ0ZThhMDA0ZDNiODc3OGQ2ODc0NGZiNTkyNWYwYTE5NjljMjA1) 
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