Information générale
Catégorie:
Fonctions Windows API
Versions des environnements
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.
>>
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement