downloading a file based on another site

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

sulasno

Thread Starter
Joined
Jul 3, 2010
Messages
162
Joined
Sep 15, 2004
Messages
3,791
I'm afraid not - you can only guess at someone else's URL names and if you guess wrong, you won't get through.

You might try suggesting to the Webmaster at that site that he or she may name the pages sequentially as updates go through but they light reply that there's no demand for it - except from you. :D
 
Joined
Aug 7, 2007
Messages
9,028
Sorry to contradict you Saga Lout but it's actually pretty easy:D

Download wget Setup to your desktop (not the src-setup file)
Double click to install. The default location is Program Files\GnuWin32. If you change it, be sure to modify the path in the following batch file. (%ProgramFiles% expands to the Program Files folder no matter what drive it's on, usually C:\Program Files)

Copy the text in the following code block into Notepad.
Save it in the folder you want to save the download in as getfile.cmd or something similar.
Be sure to change the Save as Type: box to All Files when saving.
Code:
[plain]Set _Wget=%ProgramFiles%\GnuWin32\bin\wget.exe
Set _URL=http://build.chromium.org/f/chromium/snapshots/chromium-rel-xp
"%_wget%" %_URL%/LATEST
For /F "Tokens=* Delims=" %%I In (LATEST) Do Set _Version=%%I
"%_wget%" -nc -O %_Version%_chrome-win32.zip %_URL%/%_Version%/chrome-win32.zip
Del LATEST[/plain]
Double click the file to run it. If will check the version, then download the ZIP file to the same folder the batch file is in, naming it with the version number:XXXXX_chrome-win32.zip.
So right now the file would be named 70158_chrome-win32.zip
If the file already exists, it will not download it again.

Add a Pause statement as the last line if you want the Command Prompt window to stay open when it's finished.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top