Thanks, but we resolved it.
Artifactory was expecting an Encrypted string password for the user and we were 
providing plain text passwords.


From: Noam Y. Tenne [via Artifactory] 
[mailto:[email protected]]
Sent: Tuesday, January 29, 2013 7:36 PM
To: Pratap, Dhruv : Barclaycard US
Subject: Re: wget Authorization failing while downloading artifact

Downloading via wget is and should be possible.
Reviewing Artifactory's "access" "request" log, do you see this download 
request arriving with the expected credentials?
On Wed, Jan 16, 2013 at 12:24 PM, Dhruv Pratap <[hidden 
email]</user/SendEmail.jtp?type=node&node=7578520&i=0>> wrote:
We are trying to download an artifact from Artifactory by using the 'wget'
command. Our Artifactory instance doesn't allow anonymous access and is
protected by username/password(LDAP).

The command we are using is

wget --http-user='builduser' --http-password='XXXX'
'http://spdm0231a:8070/artifactory/libs-snapshots/com/barclaycardus/wso2/services/account/account-service-wso2-carbon-app/1.0.0-SNAPSHOT/account-service-wso2-carbon-app-1.0.0-SNAPSHOT.car'


And we get the following error logs

Resolving spdm0231a... 10.125.24.137
Connecting to spdm0231a|10.125.24.137|:8070... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Reusing existing connection to spdm0231a:8070.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.


So I have the following queries:

1. Is it possible to download artifacts from Artifactory using wget?
2. If yes, Am I doing something wrong here?
3. If no, is there any other way of achieving it?




--
View this message in context: 
http://forums.jfrog.org/wget-Authorization-failing-while-downloading-artifact-tp7578486.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
Artifactory-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=7578520&i=1>
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Artifactory-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=7578520&i=2>
https://lists.sourceforge.net/lists/listinfo/artifactory-users

________________________________
If you reply to this email, your message will be added to the discussion below:
http://forums.jfrog.org/wget-Authorization-failing-while-downloading-artifact-tp7578486p7578520.html
To unsubscribe from wget Authorization failing while downloading artifact, 
click 
here<http://forums.jfrog.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7578486&code=ZHByYXRhcEBiYXJjbGF5Y2FyZHVzLmNvbXw3NTc4NDg2fC0zMzIwMjA4OTc=>.
NAML<http://forums.jfrog.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>


Barclaycard
www.barclaycardus.com 

This email and any files transmitted with it may contain confidential and/or 
proprietary information. It is intended solely for the use of the individual or 
entity who is the intended recipient. Unauthorized use of this information is 
prohibited. If you have received this in error, please contact the sender by 
replying to this message and delete this material from any system it may be on.





--
View this message in context: 
http://forums.jfrog.org/wget-Authorization-failing-while-downloading-artifact-tp7578486p7578521.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to