reading checksum from xml?

92 views
Skip to first unread message

Matthew Dowell

unread,
Mar 27, 2016, 4:14:18 AM3/27/16
to NAppUpdate
is there any way to read the checksum from the xml before downloading to see if updates are needed problem is the updates i have is about 300mb and each time the program is ran it downloads the updates even if update isnt required which can take abit of time so i need to see if theres a way to check the files vs checksum without downloading to compare. any ideas?

Itamar Syn-Hershko

unread,
Mar 27, 2016, 4:59:29 AM3/27/16
to nappu...@googlegroups.com
Yes, you just need to implement IUpdateCondition

--

Itamar Syn-Hershko
http://code972.com | @synhershko
Freelance Developer & Consultant
Lucene.NET committer and PMC member

On Sun, Mar 27, 2016 at 11:14 AM, Matthew Dowell <karmaju...@gmail.com> wrote:
is there any way to read the checksum from the xml before downloading to see if updates are needed problem is the updates i have is about 300mb and each time the program is ran it downloads the updates even if update isnt required which can take abit of time so i need to see if theres a way to check the files vs checksum without downloading to compare. any ideas?

--
You received this message because you are subscribed to the Google Groups "NAppUpdate" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nappupdate+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Matthew Dowell

unread,
Mar 27, 2016, 5:12:15 AM3/27/16
to NAppUpdate
the condition is implemented but it always downloads the file then compares checksum i want to avoid this i want to compare the checksum from the xml vs the client without downloading the files first.

Matthew Dowell

unread,
Mar 27, 2016, 5:12:29 AM3/27/16
to NAppUpdate
the condition is implemented but it always downloads the file then compares checksum i want to avoid this i want to compare the checksum from the xml vs the client without downloading the files first.

On Sunday, March 27, 2016 at 3:14:18 AM UTC-5, Matthew Dowell wrote:

Matthew Dowell

unread,
Mar 27, 2016, 5:15:07 AM3/27/16
to NAppUpdate
basicly this is how i want it to go

STEP 1) download update.xml
STEP 2) read xml for all files check sum
STEP 3) read the softwares files to see if checksum matches
STEP 4) if checksum does not match download files.
STEP 5) patch the mismatched files


On Sunday, March 27, 2016 at 3:14:18 AM UTC-5, Matthew Dowell wrote:

Matthew Dowell

unread,
Mar 27, 2016, 5:20:31 AM3/27/16
to NAppUpdate
currently what its doing is

Step 1) dowload update.xml
Step 2) download update files
Step 3) compare check sum from downloaded files vs software files
Step 4) if checksum doesnt match patch.....


problem is with this method the patch files are to many and to big and every time the software is ran it downloads the every time taking 20+ mins to start the program..... for me this is a problem i need to know how to make it compare the files checksum before downloading the patch files. does this make sense?


On Sunday, March 27, 2016 at 3:14:18 AM UTC-5, Matthew Dowell wrote:
Reply all
Reply to author
Forward
0 new messages