我想把网页托管上去,但是无法成功。
方式一:
直接通过网页上传,因为文件数量太多,有3400多个,传一部分,网页就报错。
方式二:
通过hbuilderX的 发行-》上传网页到服务器。
命令行提示报错:
[阿里云:tc-home]//about-us.html 上传失败,失败原因:Error transferring http://static-unitmgzscz-mp-xxx.oss-cn-zhangjiakou.aliyuncs.com - server replied: Bad Request。 重试
方式三:
通过cli命令,输出这些后,就没下文了
cli hosting deploy --provider aliyun --space xxx --source D:\WorkspaceHb\home --prefix /
访问地址:https://xxx.next.bspapp.com/
总共需上传3754个文件。已成功上传0个文件。
火锅鸡 (作者)
在windows上面,用的cmder
2023-03-16 17:50