3 Replies - 663 Views - Last Post: 01 October 2013 - 12:26 AM Rate Topic: -----

#1 Codey09  Icon User is offline

  • D.I.C Head

Reputation: 7
  • View blog
  • Posts: 210
  • Joined: 20-August 09

download files from windows command line

Posted 26 September 2013 - 02:33 PM

I am trying to find a way of downloading a file through http from windows command line where there is no user interaction.
The system is running xp embedded and I have 400 units to update and I am trying to write a shell script to automate the process.
I have tried numerous scripts found on Google but none have worked. Can anyone point me in the right direction?
My latest attempt was the following
@echo off

color 1F

title Command Download Batch

md c:\firefox

call bitsadmin /transfer FIREFOX /download /priority normal https://download.mozilla.org/?product=firefox-24.0&os=win&lang=en-GB c:\net\firefoxsetup.exe


Is This A Good Question/Topic? 0
  • +

Replies To: download files from windows command line

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9180
  • View blog
  • Posts: 34,470
  • Joined: 12-June 08

Re: download files from windows command line

Posted 26 September 2013 - 02:42 PM

How about just downloading it once to a USB drive and install off that for all your boxes?
Was This Post Helpful? 0
  • +
  • -

#3 Codey09  Icon User is offline

  • D.I.C Head

Reputation: 7
  • View blog
  • Posts: 210
  • Joined: 20-August 09

Re: download files from windows command line

Posted 27 September 2013 - 12:12 AM

The units that need updating are all over the country so need to do the updates remotely, the files will be downloaded from one of our central servers.
I just need to work out how to get the file to download with it asking to save or run the file.
Was This Post Helpful? 0
  • +
  • -

#4 #define  Icon User is offline

  • Duke of Err
  • member icon

Reputation: 1342
  • View blog
  • Posts: 4,601
  • Joined: 19-February 09

Re: download files from windows command line

Posted 01 October 2013 - 12:26 AM

Do you mean get the setup file and not the stub, to a shared drive?

Index of /pub/mozilla.org/firefox/releases/24.0/win32/en-GB
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1