Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reporting on FTP files > 4 GB?
Message
De
16/03/2005 13:25:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
SAMBA Server
Database:
Visual FoxPro
Divers
Thread ID:
00996360
Message ID:
00996448
Vues:
13
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
Fil
Voir

Click here to load this message in the networking platform