wget 'Bad port number' 问题解决

类似下面的wget语句会抛出“Bad port number”的异常

wget -c https://[email protected]:[email protected]/retailer-export/get/type/product/tag/all_products


解决办法:
用户名和密码都带有@号,两个@号导致url字符串不能正常解析,所以需要将其转义。
在这里,只需要将第一个@转为%40可以解决问题。

……
……
……
更多内容已迁移至新博客: Manny很忙


猜你喜欢

转载自binma85.iteye.com/blog/911710
今日推荐