From: Noam Y. T. <no...@jf...> - 2013-01-29 14:03:53
|
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 <dp...@ba...>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 > Art...@li... > https://lists.sourceforge.net/lists/listinfo/artifactory-users > |