Old 25th October 2011, 15:26   #1
Pyr3x
Junior Member
 
Join Date: Oct 2011
Posts: 7
Question Web Update

I have been trying to develop a web updater that can check some kind of remote file for changes and if needed pull new files and update.

I have only been able to download files and install them using inetc but it's getting redundant and it downloads files even if they don't need updates. It's sloppy and hard on my servers.

If anyone could please help me I would appreciate it.

-Pyr3x
Pyr3x is offline   Reply With Quote
Old 25th October 2011, 15:38   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Simplest way is to download an additional file which contains information about the file (such as timestamp or hash). You can download that first and then download the main file if necessary.

Stu
Afrow UK is offline   Reply With Quote
Old 25th October 2011, 15:40   #3
Pyr3x
Junior Member
 
Join Date: Oct 2011
Posts: 7
I am still very new to NSIS scripting, would it be possible to request examples?
Pyr3x is offline   Reply With Quote
Old 25th October 2011, 15:58   #4
QOAL
[STILL a retard!]
 
QOAL's Avatar
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 1,167
I wrote this script a couple of years ago (How was it so long ago!?): http://forums.winamp.com/showpost.ph...85&postcount=7

It might be of some use to you.
QOAL is offline   Reply With Quote
Old 25th October 2011, 16:15   #5
Pyr3x
Junior Member
 
Join Date: Oct 2011
Posts: 7
Neat little set of scrips you have sir.

I am however, still in the process of figuring out how the generator works... lol

Thanks for the examples.
Pyr3x is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump