R
Richard Krupa
Hey guys,
I hope someone is able to help me on this one! Im using the MS Inet ActivX
control to login in and download the system updates from our ftp server. Its
all working fine etc... except that i want to be able to display a progress
bar and stats so users know how much is left to be downloaded. I can do this
with WinXP by simply testing the size of the file being downloaded (on the
server) against how much has already been downloaded. (Though i will conceed
its not the best way to do it)
I cant however do this on a Win98 box because the file is not downloaded
straight into the target directory, its downloaded to a temp internet
directory first. I wrote a procedure that found the temp directory the file
was being downloaded to but the file size stays at 0kb until its been
downloaded. By then its obviously to late
and the temp files is copied
into the target directory anyway.
Is there a neater way to do this? Does the Control support a method of being
able to detect the amount of data travelling through it?
Any help would be greatly appreciated!
Regards,
Richard
I hope someone is able to help me on this one! Im using the MS Inet ActivX
control to login in and download the system updates from our ftp server. Its
all working fine etc... except that i want to be able to display a progress
bar and stats so users know how much is left to be downloaded. I can do this
with WinXP by simply testing the size of the file being downloaded (on the
server) against how much has already been downloaded. (Though i will conceed
its not the best way to do it)
I cant however do this on a Win98 box because the file is not downloaded
straight into the target directory, its downloaded to a temp internet
directory first. I wrote a procedure that found the temp directory the file
was being downloaded to but the file size stays at 0kb until its been
downloaded. By then its obviously to late
into the target directory anyway.
Is there a neater way to do this? Does the Control support a method of being
able to detect the amount of data travelling through it?
Any help would be greatly appreciated!
Regards,
Richard