使用qshell中qupload命令同步文件,日志中显示(隐去部分信息,xxx代替)
2016/08/24 14:29:57 [ERROR][qshell] qupload.go:562: Put file `/Users/xxxxx/xxxxx/xxxxx/web/static/img/slogan.png` => `img/slogan.png` failed due to `incorrect zone, please use up-z1.qiniu.com`
在配置文件中,将up_host设置为http://up-z1.qiniu.com,也无法解决问题。
我的配置文件
{
"src_dir" : "xxxx",
"access_key" : "xxxx",
"secret_key" : "xxxx",
"bucket" : "xxxx",
"zone" : "nb",
"ignore_dir" : false,
"up_host" : "http://up-z1.qiniu.com",
"overwrite" : true,
"check_exists" : true,
"check_hash" : false,
"check_size" : false,
"skip_file_prefixes" : ".git,bin",
"skip_fixed_strings" : ".svn",
"skip_suffixes" : ".DS_Store,.exe,.config,.log",
"rescan_local" : true,
"log_file" : "upload.log",
"log_level" : "info"
}
hi,可以试下将 zone 这个字段设置为 "bc",是否可以正常上传