Hi James,
you asked me to post any comments about your control here, so here I am
I just checked your code, and, me too, I can't figure out why the FileSize property always return the double filesize. But it seems to be always like that, so why don't you just change the Property Get code from
Code:FileSize = GetVal("FileLen")
to
Code:FileSize = GetVal("FileLen")/2
I know, this is not the 'professional's solution', but it'll work for now, at least until you or somebody else has the time to step deep into your code...
Anyway, am I the first and only one who found out about that...?
And now for something completely different: Some other folks posted already that there's a documentation error concerning the object creation: In your asp code, it says
Code:Set objUpload = Server.CreateObject("UploadIt.cUpload")
to create the object. Maybe you wanted to rename your project to UploadIt, but then forgot to do so, so actually, the correct code is
Code:Set objUpload = Server.CreateObject("ASPUploadComponent.cUpload")
You should change that in your example pages in order to avoid more forum messages from people who cannot figure this out by themselves...
HTH
Oliver