1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

downloading a file based on another site

Discussion in 'Windows XP' started by sulasno, Dec 24, 2010.

Thread Status:
Not open for further replies.
Advertisement
  1. sulasno

    sulasno Thread Starter

    Joined:
    Jul 3, 2010
    Messages:
    162
  2. Saga Lout

    Saga Lout

    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
     
  3. TheOutcaste

    TheOutcaste

    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.
     
  4. Saga Lout

    Saga Lout

    Joined:
    Sep 15, 2004
    Messages:
    3,791
    Cor blimey, Outcaste - that's a cunning one. :D
     
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 733,556 other people just like you!

Loading...
Similar Threads - downloading file based
  1. Robertico22
    Replies:
    8
    Views:
    654
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/970354

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice