Re: Click on cancel button on wodAppUpdate window - WeOnlyDo Discussion board

Re: Click on cancel button on wodAppUpdate window (General questions)

by TP, Tuesday, June 30, 2009, 22:42 (5624 days ago) @ woddrazen

Guy,
I'm not sure why you are mentioning size of files. Can you explain maybe?
Drazen

It is a very good question!
Maybe I did not enough read the manual !
But the size does not allow to check that the downloaded file is correct!

Before the new version of last Saturday all my program worked without problem (except naturally for the cancel button!)
For a long time and with a little more than 2000 users I just had last week a user who exactly had used the cancel button and that's why I had contacted you

When the size in the config file did not correspond to that of the downloaded file I had a code error 30004 in Filedone
But when everything was OK for my files I had not code error
Normal not?

Today with the new version of the ocx and with the same files and the same config file I have the code error 30004 in DownloadDone!

In entry CheckDone

I had NewFiles = 3

For 2 files I put needreplace = 0
for the 3rd ( Aidecons.chm) I put Needreplace = 1
Then I run Download
The file aidecons.chm is downloaded well,
it is indeed in the temporary file indicated by the debug!
But DownloadDone has the code error 30004 positioned wrongly!!!

I believe more and more that it corresponds to an error of the ocx

You are certain that the size used for the check is not the total size of 3 files and not only that of the downloaded file
I have just made a test which confirms it to me almost!
If in entry of CheckDone newfiles is equal to 1 (the aidecons.chm file only ) everything works perfectly!!!

My program is a windev program and thus the code will not be very useful for you!


Complete thread: