cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Resolving Indirect Download Links

From: Wei Weng <wweng_at_acedsl.com>
Date: Sat, 04 Oct 2008 16:15:20 -0400

Raymond C. Glassford wrote:
> I would like to know if there is a procedure, perl script or otherwise, that
> will resolve indirect download links contained on referer pages, then make
> the resolved links available to curl for downloading, with as little user
> interaction as possible.
>
> As an example, see the links contained on the "Downloads" page at:
>
> http://www.java.com
>
> where I want to download the self-extracting Linux binary,
> named "jre-6u7-linux-i586.bin" using curl, not the Mozilla Firefox download
> manager.
>
> I am running curl 7.15.5 under Mandriva Linux 2007.0.
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
Raymond,

Is
http://dl8-cdn-01.sun.com/s/ESD44/JSCDL/jdk/6u7/jre-6u7-linux-i586.bin?e=1223150744305&h=52c3fe79a1b3035c9f399a02b31cc76a/&filename=jre-6u7-linux-i586.bin
the one that you are looking for?

I used "curl
"http://dl8-cdn-01.sun.com/s/ESD44/JSCDL/jdk/6u7/jre-6u7-linux-i586.bin?e=1223150744305&h=52c3fe79a1b3035c9f399a02b31cc76a/&filename=jre-6u7-linux-i586.bin"
-o java-linux.bin" to download it.

Thanks
Wei

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-10-05