Urgent: FTP Transfers (Re-post from a few months ago)

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 :p 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top