| View previous topic :: View next topic |
| Author |
Message |
JohnSawyer Newbie
Joined: 25 Feb 2003 Posts: 8 Location: San Diego, CA
|
Posted: Thu Jun 16, 2005 3:39 pm Post subject: Can I automate a HTTP download from a website? |
|
|
I have a need to download an updated file on a daily basis. The filename/url path are always the same, so I'd like to set this up as a scheduled task to run nightly.
Has anybody done this?
Thanks!
--John
VDS Rookie |
|
| Back to top |
|
 |
jwfv Valued Contributor

Joined: 19 Mar 2002 Posts: 422 Location: Beaufort, SC
|
Posted: Thu Jun 16, 2005 4:20 pm Post subject: |
|
|
I have automated an HTTP download that runs when the file is more than 1 day old and my user opens my app. I'm sure it would be simple to make the download into an .exe and then have the Windows scheduler automatically run it.
Using vdstcp50.dsu and http.dsu (I can't remember if you have to purchase those separately from VDS) you would just issue an HTTP GETFILE command. You could spiff it up with a nice progress meter if you wanted, or just have it run hidden. Be sure to build in some error checking because internet connection issues will arise, guaranteed. You may want to download it to a temporary file and just overwrite your main file if the download went correctly. _________________ Joe Floyd |
|
| Back to top |
|
 |
JohnSawyer Newbie
Joined: 25 Feb 2003 Posts: 8 Location: San Diego, CA
|
Posted: Thu Jun 16, 2005 4:58 pm Post subject: |
|
|
That's what I thought... the Internet Suite is $100. It's not worth that to me (yet!).
Thanks! |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Thu Jun 16, 2005 9:08 pm Post subject: |
|
|
DreadNet.DLL has a simple GetFile function to download files.
Greetz
Dr. Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
webdaddy Contributor


Joined: 14 Nov 2004 Posts: 151 Location: Raleigh NC
|
Posted: Sat Jun 18, 2005 4:02 am Post subject: Automating HTTP Download |
|
|
I use vdsipp and could write something that you could modify the locations and filenames to download if you wish. Let me know. This is simple. _________________ K Wetzel
Programming - Technology - Communications
"The Home of the SLC Security Console"
SLC now available for Linux... |
|
| Back to top |
|
 |
|