forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Can I automate a HTTP download from a website?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
JohnSawyer
Newbie


Joined: 25 Feb 2003
Posts: 8
Location: San Diego, CA

PostPosted: Thu Jun 16, 2005 3:39 pm    Post subject: Can I automate a HTTP download from a website? Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Thu Jun 16, 2005 4:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
JohnSawyer
Newbie


Joined: 25 Feb 2003
Posts: 8
Location: San Diego, CA

PostPosted: Thu Jun 16, 2005 4:58 pm    Post subject: Reply with quote

That's what I thought... the Internet Suite is $100. It's not worth that to me (yet!).

Thanks!
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Thu Jun 16, 2005 9:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
webdaddy
Contributor
Contributor


Joined: 14 Nov 2004
Posts: 151
Location: Raleigh NC

PostPosted: Sat Jun 18, 2005 4:02 am    Post subject: Automating HTTP Download Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group