PDA

View Full Version : Failure to down load ISO : wget yields "Filename too long"



b24warbaby
27-Mar-2013, 02:11
Hi,

I have been trying to down SUSE 11 ISO's for a project on a CentOS (Chrome and Firefox)
and Windows for a day now and they never finish ( I am located in Texas) - I end up trunicated iso's .


I finally resorted to using wget method on Linux and I get a error "file name too long":

wget --http-user=<> --http-password=<> 'http://download.novell.com/sendredirect?target=%2Fprot%2FefgnQnRkzh4%7E%2FSLE D-11-SP1-DVD-i586-GM-DVD1.iso&buildid=efgnQnRkzh4~&fileid=HHRkAJ0J1Jk~&mirror=AkamaiHost&nohost=false&guid=ce61c66d-e43e-4460-8840-3bc66b937a42'

yields:


Resolving login.attachmategroup.com... 130.57.66.2, 2600:806:310::105
Connecting to login.attachmategroup.com|130.57.66.2|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 426 [text/html]
sso?RequestID=idN2ewLWD3naQfuyzp1R9cQ17hVgc&MajorVersion=1&MinorVersion=2&IssueInstant=2013-03-27T00:55:31Z&ProviderID=https:%2F%2Fesp.attachmategroup.com:443 %2Fnesp%2Fidff%2Fmetadata&RelayState=MA==&consent=urn:liberty:consent:unavailable&ForceAuthn=false&IsPassive=false&NameIDPolicy=onetime&ProtocolProfile=http:%2F%2Fprojectliberty.org%2Fpr ofiles%2Fbrws-art&target=https:%2F%2Fesp.attachmategroup.com%2FLAGBr oker?%22http:%2F%2Fcdn.novell.com%2Fprot%2FefgnQnR kzh4~%2FSLED-11-SP1-DVD-i586-GM-DVD1.iso%22&AuthnContextStatementRef=novell%2Fname%2Fpassword% 2Furi: File name too long


I perused the FAQ and didn't see anything .

Thanks !

ab
27-Mar-2013, 02:34
Perhaps add '-O SLED-11-SP1-DVD-i586-GM-DVD1.iso' to your wget command.
Any reason you're going for SP1 instead of SP2?

Good luck.

b24warbaby
27-Mar-2013, 14:27
Perhaps add '-O SLED-11-SP1-DVD-i586-GM-DVD1.iso' to your wget command.
Any reason you're going for SP1 instead of SP2?

Good luck.

Thanks for the help.

I tried the "-O" option and the result file is simply a xml file, not the iso:

Location: https://login.attachmategroup.com/nidp/idff/sso?RequestID=idPdNa1m-glad3lkxLxsng38ejFR8&MajorVersion=1&MinorVersion=2&IssueInstant=2013-03-27T13%3A19%3A30Z&ProviderID=https%3A%2F%2Fesp.attachmategroup.com%3 A443%2Fnesp%2Fidff%2Fmetadata&RelayState=MA%3D%3D&consent=urn%3Aliberty%3Aconsent%3Aunavailable&ForceAuthn=false&IsPassive=false&NameIDPolicy=onetime&ProtocolProfile=http%3A%2F%2Fprojectliberty.org%2F profiles%2Fbrws-art&target=https%3A%2F%2Fesp.attachmategroup.com%2FLAG Broker%3F%2522http%3A%2F%2Fcdn.novell.com%2Fprot%2 FHJJrgsvxzd4%7E%2FSLED-11-SP2-DVD-i586-GM-DVD1.iso%2522&AuthnContextStatementRef=novell%2Fname%2Fpassword% 2Furi [following]
--2013-03-27 08:25:26-- https://login.attachmategroup.com/nidp/idff/sso?RequestID=idPdNa1m-glad3lkxLxsng38ejFR8&MajorVersion=1&MinorVersion=2&IssueInstant=2013-03-27T13%3A19%3A30Z&ProviderID=https%3A%2F%2Fesp.attachmategroup.com%3 A443%2Fnesp%2Fidff%2Fmetadata&RelayState=MA%3D%3D&consent=urn%3Aliberty%3Aconsent%3Aunavailable&ForceAuthn=false&IsPassive=false&NameIDPolicy=onetime&ProtocolProfile=http%3A%2F%2Fprojectliberty.org%2F profiles%2Fbrws-art&target=https%3A%2F%2Fesp.attachmategroup.com%2FLAG Broker%3F%2522http%3A%2F%2Fcdn.novell.com%2Fprot%2 FHJJrgsvxzd4%7E%2FSLED-11-SP2-DVD-i586-GM-DVD1.iso%2522&AuthnContextStatementRef=novell%2Fname%2Fpassword% 2Furi
Resolving login.attachmategroup.com... 130.57.66.2, 2600:806:310::105
Connecting to login.attachmategroup.com|130.57.66.2|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 426 [text/html]
Saving to: “SLED-11-SP2-i568-DVD1.iso”

100%[======================================>] 426 --.-K/s in 0s

2013-03-27 08:25:27 (7.27 MB/s) - “SLED-11-SP2-i568-DVD1.iso” saved [426/426]

[root@ab763 ~]$ cat SLED-11-SP2-i568-DVD1.iso









<html>
<head>
<META HTTP-EQUIV="expires" CONTENT="0">
</head>
<body>
<form method="POST" enctype="application/x-www-form-urlencoded" action="/nidp/idff/sso?id=5&sid=0&option=credential&sid=0"></form>
<script language="JavaScript">
<!--
document.forms[0].submit();
-->
</script>
</body>
</html>


This occurs on both SP1 and SP2 images.

On the download page, there is a reference I am following:


http://download.novell.com/dl_manager_inst.html

ab
27-Mar-2013, 14:57
Add --auth-no-challenge to wget; that page apparently needs to be updated
since this requirement came a while ago:

Code:
----------
wget --auth-no-challenge --user=userNere --password=pwdHere
http://cdn.novell.com/prot/HJJrgsvxzd4~/SLED-11-SP2-DVD-i586-GM-DVD1.iso
----------

Good luck.

mikewillis
27-Mar-2013, 14:58
I also get the XML file. I don't recall using using wget with http-user and http-password before, though I have used it before like this


$ wget --load-cookies cookies.txt 'http://download.novell.com/sendredirect?target=%2Fprot%2FHJJrgsvxzd4%7E%2FSLE D-11-SP2-DVD-i586-GM-DVD1.iso&buildid=HJJrgsvxzd4~&
fileid=ogcvSy3_NOw~&mirror=AkamaiHost&nohost=false' -O SLED-11-SP2-DVD-i586-GM-DVD1.iso

and that's currently working for me. cookies.txt is a file containing my Firefox cookies exported using this Add-on https://addons.mozilla.org/en-US/firefox/addon/cookies-exportimport/ whilst I'm logged in with my Novell/SUSE account.

b24warbaby
27-Mar-2013, 20:24
Add --auth-no-challenge to wget; that page apparently needs to be updated
since this requirement came a while ago:

Code:
----------
wget --auth-no-challenge --user=userNere --password=pwdHere
http://cdn.novell.com/prot/HJJrgsvxzd4~/SLED-11-SP2-DVD-i586-GM-DVD1.iso
----------

Good luck.

Thanks - That cured it !

Perhaps someone can update that Howto ?

swsmith
09-May-2015, 09:42
Thanks - That cured it !

Perhaps someone can update that Howto ?

Anyone tried this recently? NONE of the above solutions seem to work.

mikewillis
09-May-2015, 10:51
Anyone tried this recently? NONE of the above solutions seem to work.


Making your first post in a long dormant thread is a common would be spammer tactic but given your IP address I'm going to give you the benefit of the doubt that you're a real person. ;)


I just tried the both 'wget --auth-no-challenge --user=userHere --password=pwdHere' and wget with cookies exported from Firefox methods to download the SLED 11 SP3 iso and they both worked.


Exactly what are you trying to download and what is happening when you try?