General information
Category:
Windows API functions
Interesting. All four values for lnSizeLow are 255 and all the values for lnSizeHigh are 0.
Therefore I have the following result:
lnSizeLow = ( 255 * 1 ) + ;
( 255 * 256 ) + ;
( 255 * 65536 ) + ;
( 255 * 16777216 )
lnSizeLow = 4294967295
lnSizeLow / (2^10) = 4194304
Ok, so now the lnSizeHigh values are wrong. Not sure why lnSizeHigh is not working properly. Got some ideas on this one?
>Basically you're saying that incorrect file size is returned, right? To verify that can you record and post vaues for lnSizeHigh and lnSizeLow alonside with actual file size for that file?
>
>
>>I have a file on the UNIX box that is reported as 64,958,728KB when using WS_FTP. That same file shows as 4194303.999023KB when I use WinInet and dividing the result by 2^10 (kilobytes).
>>
>>Notice that (2^32) / (2^10) equals 4194304 when calced at the VFP command window. That is clearly telling me that the max capacity is 4GB or 2^32.
>>
>>Since the file I have in question is in excess of 60 GB I have a problem in that the 60GB file is being shown as 4GB.
>>
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only