Home » Newcomers » Newcomers » How locate a URL for a download script?
|
Re: How locate a URL for a download script? [message #1088271 is a reply to message #1088249] |
Fri, 16 August 2013 21:18 |
Ed Merks Messages: 33216 Registered: July 2009 |
Senior Member |
|
|
Yes,
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/R/eclipse-java-kepler-R-win32.zip
brings up the mirror page, but if you pick one of the links on that
page, then you have a direct link, e.g., this is the direct link for the
foundation side in Canada (from the bottom of the mirror page):
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/R/eclipse-java-kepler-R-win32.zip&mirror_id=1
On 16/08/2013 10:26 PM, AlKoch Mising name wrote:
> Hello,
>
> I have an ant script that references a now invalid URL (for
> downloading Helios). I cannot discover the method by which a
> download's URL is determined. That is, I need to update this script
> to download the Kepler Wiin32 .zip but I don't understand how to
> locate this. Let me be clear:
>
> 1) I have no problem following the web page menu items to navigate to
> a "manual" download of Kepler. What I need is a URL that works for
> download in an ant script. (Note that the URL for a "manual" download
> triggers display of a page of mirror sites - that is why that URL
> doesn't work in the ant script.) For reference, here is what the the
> old, invalid (Helios) download URL looks like:
> http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-win32.zip.
> (No, just replacing the two instances of "Helios" with "Kepler" does
> not work!)
>
> 2) Simply providing the correct "ant script download" URL for Kepler
> would certainly be useful but what I am really asking is how you would
> determine what that URL is. That way, I can answer this question when
> I next need to download something new.
>
> Thank you,
> Al
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| |
Re: How locate a URL for a download script? [message #1088758 is a reply to message #1088297] |
Sat, 17 August 2013 16:08 |
Ed Merks Messages: 33216 Registered: July 2009 |
Senior Member |
|
|
Al,
I see what you mean. What I tried was doing a on
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/R/eclipse-standard-kepler-R-win32.zip&mirror_id=1
was "View Page Source" (in Firefox) and in that source I found this:
<META HTTP-EQUIV="Refresh"CONTENT="0;URL=http://download.eclipse.org/technology/epp/downloads/release/kepler/R/eclipse-standard-kepler-R-win32.zip">
So I think it's the
http://download.eclipse.org/technology/epp/downloads/release/kepler/R/eclipse-standard-kepler-R-win32.zip
link that you want (and now you know how to find it).
On 17/08/2013 12:12 AM, AlKoch Mising name wrote:
> Hi Ed,
>
> Thanks for the quick reply, but unfortunately that doesn't work. If
> you manually feed that URL to your browser you'll see that in addition
> to downloading the .zip you 1st get a new HTML page. When the ant
> script executes that URL the 1st thing it receives is that HTML and it
> uses that to create the ".zip file" it is expecting. Then, of course,
> it fails on the next step when it tries to unzip that file.
>
> The "Eclipse folks" must be putting these downloads in a special
> "repository/archive" for exactly this purpose but, as I said, I can't
> figure out where that is. Any other ideas?
>
> Thanks again,
> Al
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| |
Goto Forum:
Current Time: Fri Sep 20 21:39:46 GMT 2024
Powered by FUDForum. Page generated in 0.09880 seconds
|