Click to See Complete Forum and Search --> : Checking Actual and Current File Size


wmeng72
September 3rd, 2001, 08:47 PM
Hi All,

I need to check if a File has been successfully FTP'd in to the server (is there a way to do this?). I was thinking of checking the Actual File Size versus the Final File size and compare that if they are equal then I can be sure that the File has benn successfully transferred.
I have found several ways of getting the current file size but is there a way of getting the Total file size? Or is there a better solution to my problem? Thanks so much!

Cheers,
wmeng72

DSJ
September 4th, 2001, 03:15 PM
InternetFindNextFile API function returns a structure that will contain the filesize at the remote location.