curl: (3) [globbing] error: bad range specification after pos 150的解决方法
在線上服務(wù)器上執(zhí)行下面的命令
curl -vo /dev/null 'http://120.52.72.46:80/fileshare3010.dfiles.eu/c3pr90ntcsf0/auth-1375626538db3c073c81647e872cab8f-210.186.189.166-676861082-146404525-guest/FS301-5/[EROBEAT]_Junjou_Shoujo_Et_Cetera_-_01_[LQ][x264][56712B10].mp4'
出現(xiàn)如下:
curl: (3) [globbing] error: bad range specification after pos 150
解決方法:
添加-g選項即可
進一步查看curl的man手冊,說明如下
-g/--globoff
?This ?option ?switches off the "URL globbing parser". When you set this option, you can specify URLs that contain the letters {}[] without having them being interpreted by curl itself. Note that these letters are not normal legal
?URL contents but they should be encoded according to the URI standard.
總結(jié)
以上是生活随笔為你收集整理的curl: (3) [globbing] error: bad range specification after pos 150的解决方法的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 在CentOS 6.6 64bit上为v
- 下一篇: 在Ubuntu 14.04 64bit上