1.

Solve : How to automate a download with batch??

Answer»

Hello all,

I have another question! I would like to know how to make a batch either click a link on a page just opened, or just DOWNLOAD a file from a specified web url.

The reason for this is to automate an update process, without asking the user to click the download button.

I was able to find a PROGRAM to install that would do this, but i am looking for a more batchy version of this. Thanks in advance! There is a third-party program that can do what you want, but I can't remember what it is...hopefully another member can provide it. Thanks for the quick reply!
I was able to find wget.exe and webfetch.exe, however neither seem to be able to resolve my host, nor simply download the file at the specified path for that matter.

Anyone know of any other command executable programs?please specify the PROBLEM you are having with wget & show the code you are using

Code: [Select]S:\>wget http://z.about.com/d/healing/1/0/l/N/gtotem_baboon.jpg
--2009-11-22 08:53:16-- http://z.about.com/d/healing/1/0/l/N/gtotem_baboon.jpg
Resolving z.about.com... 207.126.123.29
Connecting to z.about.com|207.126.123.29|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 66800 (65K) [image/jpeg]
Saving to: `gtotem_baboon.jpg'

100%[==========================================>] 66,800 106K/s in 0.6s

2009-11-22 08:53:17 (106 KB/s) - `gtotem_baboon.jpg' saved [66800/66800]

ALSO CURL is quite good, and is optimised for getting single files more than wget

Code: [Select]S:\>curl -O http://z.about.com/d/healing/1/0/l/N/gtotem_baboon.jpg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 66800 100 66800 0 0 66800 0 0:00:01 0:00:01 --:--:-- 82266


Thanks for the speedy replies.
I was able to get wget to work, apparently Comodo thought it would be funny to block it and not say anything.
Either way, it works, and once again all your help was greatly appreciated.

Moderators you can mark this as solved, if desired.



Discussion

No Comment Found