Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a HTTP URL of a file. Is there a simple way to schedule a periodic download of that file (say, every 24 hours) to a certain location on disk, thus overwriting the previous version?

Possibly by using Windows scheduler, and not having to install yet another bloated program just to do this simple task.

share|improve this question

2 Answers 2

up vote 6 down vote accepted

You can use PowerShell to perform this action just enter the following in to task scheduler.

powershell.Exe -command "& {$client = new-object System.Net.WebClient;$client.DownloadFile('http://www.domain.com/file.mp3','c:\temp\file.mp3')}"
share|improve this answer

You can try using wget for windows and enter it's path into your system environmental variables.

It's very lightweight and it won't be a bad utility for your system if it's something you want.

http://users.ugent.be/~bpuype/wget/

share|improve this answer
    
This would be my choice. Using WGET is very easy to use and yes, you can add a scheduled task to run it now and then, invisibly in the background. –  Synetech Mar 2 '11 at 1:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.