Could someone please enlighten me as to what high/low means in the description of this function? So how do you retrieve the filesize then? The description seems a bit scarce. To me at least.
Handle returned from a call to FtpOpenFile.
Pointer to the high-order unsigned long integer of the file size of the requested FTP resource.
Returns the low-order unsigned long integer of the file size of the requested FTP resource.
Actually, I don't have the slightest clue as to why am I required to multiply fileSize by 260. (see in the example.) Apparently, that's the way it should be calculated. So the final filesize is the sum of the aforementioned product and the return value of the function.
//Progress bar maximum
SizeLo = FtpGetFileSize(
PbarMax = ((INT)fileSize* 260) + SizeLo;