相关疑难解决方法(0)

来自Bitbucket的Wget压缩提示(mercurial)

我们想使用mercurial进行Web开发,但我们不能(也不想)在共享主机上安装mercurial.我们尝试使用这里提到的wget ,但是我得到401错误.凭据和链接是正确的(为安全起见进行了修改).

有没有办法从命令行下载源?

这个错误还是我做错了什么?

回复如下:

$ wget _http://xxxx:yyyyyyy@bitbucket.org/username/repo/get/be51983f6357.zip 
--2011-10-31 00:26:50--
http://username:password@bitbucket.org/username/repo/get/be51983f6357.zip 
Resolving bitbucket.org... 207.223.240.182, 207.223.240.181 
Connecting to bitbucket.org|207.223.240.182|:80... connected. 

HTTP request sent, awaiting response... 
301 Moved Permanently Location: https://bitbucket.org/username/repo/get/be51983f6357.zip [following] 
--2011-10-31 00:26:51-- 
https://bitbucket.org/username/repo/get/get/be51983f6357.zip 
Connecting to bitbucket.org|207.223.240.182|:443... connected. 
HTTP request sent, awaiting response... 
401 UNAUTHORIZED Authorization failed.
Run Code Online (Sandbox Code Playgroud)

拿2:

Thanx求助...我将http改为https和用户用户及密码属性:

浏览器工作正常,Wget没有......

$ wget --verbose --user=XXXXX --password=YYYY  https://bitbucket.org/ekku/REPO/get/aabbccddeee.zip
--2011-10-31 18:27:10--  https://bitbucket.org/ekku/REPO/get/aabbccddeee.zip
Resolving bitbucket.org... 207.223.240.182, 207.223.240.181
Connecting to bitbucket.org|207.223.240.182|:443... connected.
HTTP request sent, awaiting response... 401 UNAUTHORIZED
Failed writing HTTP request: Bad …
Run Code Online (Sandbox Code Playgroud)

mercurial wget bitbucket

2
推荐指数
1
解决办法
3413
查看次数

标签 统计

bitbucket ×1

mercurial ×1

wget ×1