View previous topic :: View next topic |
Author |
Message |
LaoLiulaoliu Apprentice
Joined: 31 Dec 2006 Posts: 199 Location: Nanjing,Jiangsu
|
Posted: Sun Oct 28, 2007 12:12 pm Post subject: can not use wget to download a link. |
|
|
The link is
a reaaaaaaally loooooooong url
When I use wget another reaaaaaaally loooooooong url
the strange thing comes.
[1] 4354
[2] 4355
[3] 4356
[4] 4357
--20:11:47-- http://www.vmware.com/download/downloadBinary.do?action=downloadBinary
=> `downloadBinary.do?action=downloadBinary.1'
Resolving www.vmware.com... [5] 4358
[6] 4359
[2] Done file=VMware-workstation-6.0.1-55017.x86_64.tar.gz
[3] Done pot=1
[4] Done baseURL=http://download2.vmware.com/software/wkst/
butterfly@localhost /learn $ 125.252.222.52
Connecting to www.vmware.com|125.252.222.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,886 (2.8K) [text/html]
100%[====================================>] 2,886 --.--K/s
20:11:53 (9.21 MB/s) - `downloadBinary.do?action=downloadBinary.1' saved [2886/2886]
Please help me.
edit by nixnut: wrapped url's in tags _________________ Gentoo(~x86)+fvwm && Debian+gnome
Intel Pentium D,Intel Mobile GM965/GL960 Integrated
Last edited by LaoLiulaoliu on Tue Nov 20, 2007 8:08 am; edited 2 times in total |
|
Back to top |
|
|
elgato319 Guru
Joined: 15 Sep 2005 Posts: 546
|
Posted: Sun Oct 28, 2007 2:56 pm Post subject: |
|
|
it's the "&" in the urls
try to set a "\" BEFORE every &
Example:
Code: | http://www.domain.com/index.php?action=download&file=somefile.tar.gz
http://www.domain.com/index.php?action=download\&file=somefile.tar.gz |
|
|
Back to top |
|
|
Pithlit l33t
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Sun Oct 28, 2007 10:00 pm Post subject: |
|
|
Learn to wget properly:
No need for trying to wrap your head around where in that looooooong url you need to put backslashes. And it takes less time. _________________ If someone solves a problem for you say thanks... and put [SOLVED] in the title! |
|
Back to top |
|
|
LaoLiulaoliu Apprentice
Joined: 31 Dec 2006 Posts: 199 Location: Nanjing,Jiangsu
|
|
Back to top |
|
|
|